Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Escaping - &eacute vs \uxxxx

Rachel Swailes
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic