On Fri Feb 17 20:25:29 2012, MSCHILLI wrote:
Show quoted text> To perform a fairly standard task like escaping utf8 text, are you
sure
Show quoted text> this is the correct approach?
>
> Instead of changing a variety of CPAN modules and make them use a
> different decoding function (uri_escape_utf8), wouldn't it be more
> appropriate to fix uri_escape to make it support utf8?
I was unsure how best to respond to this question, so I went to
irc.freenode.org #perl. Per mauke, a #perl regular:
09:50 < mauke> dp_: the answer is "no"
09:51 < mauke> dp_: to perform a fairly standard task like escaping utf8
text, using uri_escape_utf8 is the correct approach because that's not
what uri_escape does.
09:51 < mauke> dp_: if there are a variety of CPAN modules that use
uri_escape with unicode text, those modules are broken
09:51 < mauke> dp_: also, it's not a decoding function
09:52 < mauke> dp_: uri_escape can't be fixed because it's not broken