File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes UTF -8 conversion for String in other Language Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "UTF -8 conversion for String in other Language" Watch "UTF -8 conversion for String in other Language" New topic
Author

UTF -8 conversion for String in other Language

ashwin vulugundam
Greenhorn

Joined: Jul 22, 2011
Posts: 16
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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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

Joined: Jul 22, 2011
Posts: 16
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);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UTF -8 conversion for String in other Language