C
Cloink
Simply: How ?
I can't believe no-one's already done it, but I can't find any exact
mention of it on the tinterweb.
Closest I got was someone suggesting a custom javascript function to
encode a URI in the style that Perl expects - no way José - what's the
point in the W3C standardising this stuff for all our benefits if we go
and write custom functions instead.
So come on - I need a Perl function to decode a URL that has been
encoded with a javascript encodeURI() or encodeURIComponent() call.
Alternatively, I can write the Perl function myself if someone can
explain how the encoding works in the js funcs?
e.g.
é (e-acute) is encoded via encodeURIComponent to %C3%A9, which doesn't
obviously tie in with the Unicode specification 00E9. But the js
references I've read claim that it is Unicode compliant, so what am I
missing?
Cheers all.
Cloink
I can't believe no-one's already done it, but I can't find any exact
mention of it on the tinterweb.
Closest I got was someone suggesting a custom javascript function to
encode a URI in the style that Perl expects - no way José - what's the
point in the W3C standardising this stuff for all our benefits if we go
and write custom functions instead.
So come on - I need a Perl function to decode a URL that has been
encoded with a javascript encodeURI() or encodeURIComponent() call.
Alternatively, I can write the Perl function myself if someone can
explain how the encoding works in the js funcs?
e.g.
é (e-acute) is encoded via encodeURIComponent to %C3%A9, which doesn't
obviously tie in with the Unicode specification 00E9. But the js
references I've read claim that it is Unicode compliant, so what am I
missing?
Cheers all.
Cloink