0

这个 ASCII 字母(MS-DOS 希伯来语 / CP862):

欧元</p>

需要输出这个(UTF-8/Windows-1255):

א

到目前为止,这些方法没有给我任何结果:

$string = "€";
echo iconv('CSPC862LATINHEBREW', 'Windows-1255',  $string);
echo iconv('CSPC862LATINHEBREW', 'UTF-8',  $string);
echo iconv('CSPC862LATINHEBREW', 'CP862',  $string);

echo mb_convert_encoding($string, 'UTF-8', 'CSPC862LATINHEBREW');
echo mb_convert_encoding($string, 'Windows-1255', 'CSPC862LATINHEBREW');
echo mb_convert_encoding($string, 'CP862', 'CSPC862LATINHEBREW');
4

0 回答 0