|Welcome to the Monastery|
pp module messes encodingby palkia (Monk)
|on May 13, 2011 at 23:07 UTC||Need Help??|
palkia has asked for the
wisdom of the Perl Monks concerning the following question:
I used the pp module (this one) to convert my perl code to exe.
I wrote a simple code to extract some text from an online page with (this) WWW:Mechanize.
(The page contains Hebrew characters)
My code works gr8 as .pl but after it's converted to .exe with the pp module,
it gets a strange encoded (I think) text, that I can't understand nor convert to it's standard form.
Another weird thing is that the .exe created version of out.txt is about 4 times longer than the .pl's.
(tried & failed to convert with some functions from the utf8 pragma )
My code (at least it's relevant part):