XmlEncoder

Joined
Feb 21, 2008
Messages
1
Reaction score
0
Hello ,
I using XmlEncoder to serialize objects as Xml.
The output file has attribute "encoding" which it's default values = "UTF-8"
How can i change this value to be "Cp1256" ?
i tried : System.setProperty("file.encoding", "Cp1256"); but it didn't work
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top