attempts to mimic JS"s charCodeAt
method, and the result of "c".charCodeAt ()
is 99.
I use mb_convert_encoding (99, "UTF-8"," Unicode, UCS-2, UCS-4, ASCII")
, but the output remains the same.
(converted successfully with chr (99)
, but what I want is to convert in deUnicode-- you know, it definitely exceeds the number of 255s).
question:
- Unicode converts c to 99. In PHP, how to convert 99 into c in the way of deUnicode?