|
From: Stefan T. <st....@gm...> - 2014-02-17 10:31:45
|
Hi! I've run into some trouble parsing xml with the multi-byte characters å ö ä. To find the problem, I'd like to get clarification on what unit (byte or character) is used for the element indices: On the one hand, the javadoc for VTDNav.getElementFragment() says: ".... Unit is in byte..." On the other hand, the javadoc for VTDNav.toString() says: "... os the char offset of the segment (not byte) ..." "... len the length of the segment in char (not byte) ..." Which one is wrong/outdated? Or do I need to convert myself? Or have I misunderstood something? Thanks and best regards! stefan. |