silent11 has asked for the wisdom of the Perl Monks concerning the following question:
What I have: Fútbol con Mayte introducción al fútbol
What I need: F%C3%BAtbol+con+Mayte+introducci%C3%B3n+al+f%C3%BAtbol
What I get with URI::Escape : F%FAtbol%20con%20Mayte%20introducci%F3n%20al%20f%FAtbol
What module can I use to convert what I have, a string with those funky characters, into what I need, an escaped sequence? URI::Escape isn't doing the job for me, I'm sure it is doing it's job correctly, I'm just misusing the module. Any Ideas?
-silent11
What I need: F%C3%BAtbol+con+Mayte+introducci%C3%B3n+al+f%C3%BAtbol
What I get with URI::Escape : F%FAtbol%20con%20Mayte%20introducci%F3n%20al%20f%FAtbol
What module can I use to convert what I have, a string with those funky characters, into what I need, an escaped sequence? URI::Escape isn't doing the job for me, I'm sure it is doing it's job correctly, I'm just misusing the module. Any Ideas?
-silent11
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to escape special characters correctly for a URL
by snadra (Scribe) on May 27, 2004 at 14:57 UTC | |
Re: How to escape special characters correctly for a URL
by Roy Johnson (Monsignor) on May 27, 2004 at 14:21 UTC |
Back to
Seekers of Perl Wisdom