Hi all,
I'm trying to read a japanese file, remove junk character in the
begining and then write the contents of the file in new file using
PrintWriter. But the new file created contains junk characters instead
of the japanese characters.
I understand that i need to use unicode .
Can someone help with sample code.
How to proceed.
Thanks
Roedy Green - 03 May 2006 04:49 GMT
>I'm trying to read a japanese file, remove junk character in the
>begining and then write the contents of the file in new file using
>PrintWriter. But the new file created contains junk characters instead
>of the japanese characters.
>I understand that i need to use unicode .
how about a hex dump of the first bytes of the file.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.