Having a little trouble doing this in either 1.2 or 1.4.

When I create the TextNode for the fixed data, what encoding should I use for 
the string?

ASCII, UTF-8?

i.e. given a byte[] array

how should I construct the string?

new TextNode(new String(buf, "ASCII"))?

when I use UTF8, the decoding fails complaining that the expected sizes don't 
match.


      

Reply via email to