File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Java in General
Error in handling Unicode in java
Naga venkateswara Rao
Joined: Dec 16, 2009
Dec 01, 2010 06:46:41
I have some unicode characters in a CSV file and need to be encoded to be able to complete my task. Currently, I'm getting exception as -
: An invalid XML character (Unicode: 0x19) was found in the CDATA section.
Africaâ€™s - Replace "€™"
Africas - Replace ""
Ramessesâ€™ (Six references) - Replace "â€™"
Can some one have ideas on resolving it?
Joined: Oct 14, 2008
Dec 01, 2010 06:53:13
How is a CSV file related to XML data?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Dec 01, 2010 07:43:15
What created the text in the first place?
0x19 is "end of medium" also called "end of file" - you should be able to pull the line# and character# from the
to get a hint as to where it came from.
I agree. Here's the link:
subject: Error in handling Unicode in java
Escaping - é vs \uxxxx
convert to plain text
Unicode differences - Win vs Solaris
java coding and unicode
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014