Tue, 8 Jan 2008 02:22:09 -0800 (PST), /Milan Tomic/:
I have this piece of the code:
(I hope that all of you, with your encoding, can see the second line)
org.w3c.dom.Element e1 = doc.createElement("element1");
Node n1 = doc.createTextNode("ČĆŽŠĐčćžšđ");
[...]
Make sure you don't use non-ASCII
I have this piece of the code:
(I hope that all of you, with your encoding, can see the second line)
org.w3c.dom.Element e1 = doc.createElement("element1");
Node n1 = doc.createTextNode("ČĆŽŠĐčćžšđ");
e1appendChild(n1);
and I serialize it as:
ByteArrayOutputStream bas = new ByteArrayOutputStrea