This ASCII letter (MS-DOS Hebrew / CP862):
€
need to output this (UTF-8/Windows-1255):
א
Those methods give me no result so far:
$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');