JavaExtension.escape not Unicode friendly

Bug #501349 reported by bran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
play framework
Status tracked in 1.0
1.0
Fix Released
Undecided
Unassigned
1.1
Fix Committed
Undecided
Unassigned

Bug Description

 String s = "汉字 English";
 String r = JavaExtensions.escape(s);

 now r != s;

 The root cause is StringEscapeUtils is not Unicode friendly.

Would be nice to leave the Unicode alone.

Revision history for this message
Guillaume Bort (guillaume-bort) wrote :

Fixed in the 1.1 branch. Waiting for more tests.

Changed in play:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.