Reputation: 513
i am using an XMLStreamWriter object to write some data into an xml file. My problem is that when i encounter a special character like $ or €, it remains as it is. Is it possible to write this kind of characters in their unicode form ? as an example ; writing \u0024 instead of $ and writing \u20ac instead of €. I am using the encoding "UTF-8" and when JBoss is used, i am using the "com.bea.xml.stream.XMLOutputFactoryBase" as the "javax.xml.stream.XMLOutputFactory".
Upvotes: 0
Views: 215