in reply to
Re^2: Remove unicode "whitespace"
in thread Remove unicode "whitespace"
URI::Encode a try.
use URI::Encode qw(uri_decode);
my $encoded = 'http://commons.wikimedia.org
Yes, I've done that. It converts the %E2%80%8E string to the unicode LRM character, which isn't printed, but is still embedded in the string, causing problems when accessing the URL again. Thanks, though.
I make decisions, and my brain carries them out
My brain makes the decisions, and I observe them (if I'm lucky)
I make some decisions, and my brain makes others
My spouse makes decisions and I and my brain carry them out
I wrote a program to relieve me and my brain from the burden of decision-making
The black-helicopter people project the decisions into my brain and then I do as ordered
Results (477 votes),