Open vihatsoft opened 5 months ago
Not a php guy, but chatgpt claims this is the php equivalent :)
function hex2utf($string) {
$length = strlen($string) / 4;
$result = '';
for ($i = 0; $i < $length; $i++) {
$result .= chr(hexdec(substr($string, $i * 4, 4)));
}
return $result;
}
okay, thank you
@vihatsoft Did it work? If yes, can you close the issue please?
@vihatsoft Did it work? If yes, can you close the issue please?
when i try show unsupported characters � � � � � � when sms in none English characters. after this problem i use bellow python script, and working fine for none English SMS characters. https://github.com/Kajkac/ZTE-MC-Home-assistant/blob/master/python_scripts%2Fzte_tool.py
hi, can some one help me for convert bellow python function in php and that also work with none English characters sms.
when i try bellow php function but show unsupported characters � � � � � � when sms in none English characters.
Thank you,