i had exactly the same issue by developing Hungarian module. Ashwin's solution was great for my module, just added the Encode lib and decode for parsing. It fixes on Win Xp Pro.
thx mate ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get this error message when I use Finance::Quote,
Parsing of undecoded UTF-8 will give garbage in Quote.pm line 243.
I am using perl 5.8.8 on Mac OSX Leopard. And installed Finance::Quote via CPAN.
The solution I found to this was adding
use Encode; to the beginning of the Quote.pm.
And changing, $te->parse($data); in line 243 to
$te->parse(decode_utf8($data));
Is this ok? I am not getting the warning anymore.
Thanks
Hi Ashwin,
I'm also using F::Q on a MacosX Leopard system and I can't reproduce your errror. Could you please post a piece of code to test on my system ?
Would you mind posting a bug report on
http://rt.cpan.org/Public/Dist/Display.html?Status=Active&Name=Finance-Quote ?
Thanks
--
erik
i had exactly the same issue by developing Hungarian module. Ashwin's solution was great for my module, just added the Encode lib and decode for parsing. It fixes on Win Xp Pro.
thx mate ;)