good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
encoding data containing non english characters so as to be decoded by non perl programby ranjan_jajodia (Monk) |
on Sep 22, 2004 at 11:10 UTC ( [id://392893]=perlquestion: print w/replies, xml ) | Need Help?? |
ranjan_jajodia has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks, I have a perl program which grabs data from a few sites(which may have non english content) and print them to the console. There is another java program which captures this data for further processing. But due to the presence of non english language characters i guess i have to encode the data before printing as the java program reads byte by byte and hence won't work in the normal way. I have used HTML::Entities for encoding. How do i decode it to get the original data in my java program? Am i using wrong method for the work? If yes then i will really like to know the correct way. Thanks, Ranjan
Back to
Seekers of Perl Wisdom
|
|