主页
PHP
PHP convert_cyr_string() 函数
tryphp_func_string_convert_cyr_string
运行 ❯
×
更改方向
保存代码
更改主题
<?php $str = "Hello world! ���"; echo $str . "
"; echo convert_cyr_string($str,'w','a'); ?>
In this example we convert a string from the character-set "w" (windows-1251) to "a" (x-cp866).