wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes character encoding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "character encoding" Watch "character encoding" New topic
Author

character encoding

qingwu wang
Ranch Hand

Joined: Feb 19, 2003
Posts: 147
Hello everyone!
can anyone tell me if I can set character encoding when I build xml document by document object.because the default value is utf-8,I want to set it in "GBK".How can I do it?


Thanks...qingwu<br />When I open my eyes,I see your pretty face.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
did you tried this method setEncoding(..)


Spritle Software Blogs
qingwu wang
Ranch Hand

Joined: Feb 19, 2003
Posts: 147
Thanks,Balaji
qingwu wang
Ranch Hand

Joined: Feb 19, 2003
Posts: 147
my dom level 2 has no setEncoding method,if using Jbuilder7,I will how to change lib.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: character encoding
 
Similar Threads
stupid I/O question---"8 bit US ASCII"?
Encoding Type Of XML Document
character Encoding issues
encoding doubt
Relation between char-set and encoding