|
From: <jz...@xi...> - 2013-07-26 18:08:15
|
it is somewhat rare for people to use UTF-16 encoding, is that LE or
BE? i will look into this
----- Original Message -----
From: Blaine Forbush
To:
Cc:
Sent:Fri, 26 Jul 2013 11:22:36 -0600
Subject:[Vtd-xml-users] Fwd: UTF-16 Updates Fail
Hi,
I'm new to VTD. Firstly, thank you for this excellent project, it
fills our need perfectly!
Now, I am successfully updating XML documents using VTD, however, I
have a document in UTF-16 that fails to process correctly. If I open
that same file in Notepad++ and convert it to UTF-8, it works just
fine. Do you have any suggestions?
The symptoms that I am seeing are 1) when I update a token, the
update appears in a random location within the actual document. 2)
under certain scenarios, I get an ArrayIndexOutOfBoundsException when
trying to do output("file.xml") [1]
Thanks,Blaine
Links:
------
[1] http://file.xml
|