运行 ❯
获取您
自己的 PHP
服务器
×
更改方向
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <body> <?php $str = "Hello world! ���"; echo $str . "<br>"; echo convert_cyr_string($str,'w','a'); ?> <p>In this example we convert a string from the character-set "w" (windows-1251) to "a" (x-cp866).</p> </body> </html>
你好世界!
你好世界! .
在这个例子中,我们将字符串从字符集“w”(windows-1251)转换为“a”(x-cp866)。