File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Escaping - é vs \uxxxx Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Escaping - &eacute vs \uxxxx" Watch "Escaping - &eacute vs \uxxxx" New topic
Author

Escaping - &eacute vs \uxxxx

Rachel Swailes
Ranch Hand

Joined: May 18, 2004
Posts: 434
Hi there

I'm busy working on a translation software for work. We are taking php files, stripping them for the pieces to translate, translating them and building the php files again. All programatically using java.

Now, I see in some of the php files, the escape chars are noted as é and sometimes they are noted in unicode notation \uxxxx. But only when they are in unicode notation are they displayed properly.

What is the reason for this? Am I going to have to replace the &'s for \u's to start and then convert them again when finished?

Many kind regards,
Rachel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Escaping - &eacute vs \uxxxx
 
Similar Threads
Text File Encoding
How to contribute and maintain a translation!
Need Help regarding Internationalization in JSF
Charset problem in JOptionPane on Applet
Did u all know this ??????