FULL PRODUCT VERSION : 1.6.0_13 ADDITIONAL OS VERSION INFORMATION : Windows Vista, 32 bit A DESCRIPTION OF THE PROBLEM : When printing the display name of the Local for South Africa, in swedish, an additional space has slipped in at the end. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : System.out.println(new java.util.Locale("en", "ZA").getDisplayCountry(new java.util.Locale("sv", "SE")) + "."); EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Output should be: Sydafrika. ACTUAL - Sydafrika . REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- System.out.println(new java.util.Locale("en", "ZA").getDisplayCountry(new java.util.Locale("sv", "SE")) + "."); ---------- END SOURCE ---------- CUSTOMER SUBMITTED WORKAROUND : new java.util.Locale("en", "ZA").getDisplayCountry(new java.util.Locale("sv", "SE")) .trim()
|