Results 1 to 1 of 1
Thread: Problem with non ASCII codes
- 04-19-2009, 01:18 AM #1
Member
- Join Date
- Apr 2009
- Posts
- 2
- Rep Power
- 0
Problem with non ASCII codes
Hi All
I had posted this thread in java beginner, however still want to hear some inputs from experts.
I have a requirement here when an XML message is being parsed. Due to some additional enhancement to output XML I went to write a java custom code to add new tags to existing XML. However, as XML message consists of non ascii chars, when entire xml doc read as string, java internal conversions are happening from non ascii to ascii.. this results as some new char(non- ascii) apprearing in target XML. Can any one help me how can I make sure non ascii chars will pass as it is...
Source of XML looks like
<CANDTOWNCITY>Düsseldorf</CANDTOWNCITY>
after parsing it comes as <CANDTOWNCITY>Düsseldorf</CANDTOWNCITY>
my requirement is : data should come as <CANDTOWNCITY>Düsseldorf</CANDTOWNCITY>
Thanks
Similar Threads
-
Problem when reading non ascii chars
By ajay.madamala in forum New To JavaReplies: 1Last Post: 04-18-2009, 04:50 PM -
What's wrong with my codes?
By ayoood in forum New To JavaReplies: 16Last Post: 09-01-2008, 03:57 AM -
Displaying ASCII Codes in a table
By Java Tip in forum SWTReplies: 0Last Post: 07-07-2008, 04:56 PM -
Posting codes and help
By Java_Man in forum New To JavaReplies: 2Last Post: 02-16-2008, 03:15 AM -
Getting ASCII codes of character
By gapper in forum New To JavaReplies: 1Last Post: 02-02-2008, 09:42 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks