UTF-8 to Unicode Code Points

For a readable-form I would go with JSON. It’s not required to escape non-ASCII characters in JSON, but PHP does:

echo json_encode("tchüß");

"tch\u00fc\u00df"

Leave a Comment