Menu

#20 kxml2 WbXmlSerializer rev 1.15 bug with UTF-8 does not fixed

open
nobody
None
5
2012-10-12
2012-10-12
No

Solution:

if(j > 1){
String t = s.substring(j);
int idx = i+s.getBytes("utf-8").length - t.getBytes("utf-8").length;
stringTable.put(t, new Integer(idx));
stringTable.put(s.substring(j+1), new Integer(idx+1));
}

Discussion


Log in to post a comment.