There is no way on a API level. If you really want to know the originally declared encoding, the only way to do so is to scan the
bytes stream, and catch the <?xml version="1.0" encoding="Shift_JIS" ?>
bit.


Wai-Yip Tung wrote:
After parsing, is there anyway I can find out the character encoding used?

thanks,

Wai yip tung

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Xuemin Guan
Java & XML Developer
Appresso SpA (www.appresso.com)
Tel:  +81-3-4412-7790 (Direct)
      +81-3-4412-7700 (Representative)
Email: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to