Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UTF -8 conversion for String in other Language

 
ashwin vulugundam
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need to create a java code which will convert application form in XML(Supporting UTF-8)
This is working fine.

But when i am using extended characters for other languages such as French ,Russian)
i am not getting proper result .

Can some on help me!!
 
Paul Clapham
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not really. You haven't identified the problem in any clear way. You just have some idea that there's some kind of a problem, but you haven't described that problem in any way at all.

You might consider producing a description of the problem; then other people might be able to suggest ways to deal with it.
 
ashwin vulugundam
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what i am trying to do is ...i am having a form which consist a user related data such as name,address etc.. the details are stored in customer object and this object is used to put details in XML such as customer.xml which will be written after a while.The conversion to XML is done by DOM parsing

Now if i put the customer details in French,Italian or Russian..

I am not getting Proper UTF-8 character.

P.s: I am using this kind of code snipet to create Doccument
DOMImplementation theImplementation = builder.getDOMImplementation();
Document = theImplementation.createDocument(null, "CUSTOMER",null);
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic