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,