Why this line of code:
$convertedChar = iconv('ISO-IR-166', "UTF-8", '¤');
returns “ยค” instead of “ค”?
also
$convertedChar = iconv('ISO-IR-166', "UTF-8", 'Á');
returns false instead of “ม”.
Advertisement
Answer
After all your helps I’ve got to this result:
$convertedChar = iconv('ISO-IR-166', "UTF-8", utf8_decode('¤'));