執行 ❯
獲取您
自己的 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)。