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

Forum statistics

Threads
474,075
Messages
2,570,562
Members
47,197
Latest member
NDTShavonn

Latest Threads

Top