I seem to have solved the problem by replacing the cedilla by its
unicode representation. Here's the testDisplayName() method in
LocaleUtilTest.java:
public void testDisplayName() {
Locale locale = new Locale("fr");
String expect = "Français";
String result = LocaleUtil.displayName(locale, locale);
try { // Convert from Unicode to UTF-8
String string = "Fran\u00e7ais";
byte[] utf8 = string.getBytes("UTF-8");
expect = new String(utf8, "UTF-8");
} catch (UnsupportedEncodingException e) {
}
assertEquals(result, expect);
}
Can you guys confirm that this still works for you?
- Lukas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]