"timfox" wrote : "trustin" wrote : I'd prefer David's
suggestion to use UTF-16 although it's not so efficient for ASCII strings.
|
| I'm not really sure I understand why UTF-16 is going to be more performant than
UTF-8.
It's because it's as simple as writing a series of short integers? It should look
like this for example:
for (int i = 0; i < str.length(); i ++) {
buf.putChar(str.charAt(i));
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150810#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...