I have a chinese character set as a variable with character encoding as utf-8:
$a='列';
From this, how can I get the value ‘5217’ assigned to a string ($b) (possibly using UTF-16? but there might be a better way to do it)?
Codes:
http://www.fileformat.info/info/unicode/char/5217/index.htm
1 Answer