Skip Menu |

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 7903
Status: resolved
Priority: 0/
Queue: URI

Owner: Nobody in particular
Requestors: SREZIC [...]

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)

Subject: Escaping of utf8 characters
Download (untitled) / with headers
text/plain 411b
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
Download js_escape.html
text/html 278b
Download (untitled) / with headers
text/plain 117b
In Roy said "They are not standard, and never will be."

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to