Subject: | Escaping of utf8 characters |
The javascript escape() function seems to escape unicode characters >255
differently than URI::Escape::uri_escape_utf8 does. The attached html/js
sample escapes the euro sign and all tested browsers (Mozilla/1.6 and Opera
on Linux, MSIE 6 on Windows) return "%u20AC" as result, whereas
uri_escape_utf8 returns the encoded 3-byte-representation. So my question:
who is right, who is wrong?
Regards,
Slaven