-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
None
-
beta
-
generic
-
solaris_8
In lt_LT locales on Solaris 7 and Solaris 8, the getDisplayLanguage() routine
returns a String that cannot be printed: it looks like "Lietuvi?". Bae-chul Kim
investigated and found that the last character is \u0159, the latin small letter
r with a caron.
import java.util.Locale;
public class Hello {
public static void main(String[] argv) {
String localeString =
Locale.getDefault().toString() + "/" +
Locale.getDefault().getDisplayLanguage();
System.out.println(localeString);
}
}
By sending E-mail to the webmasters of some Lithuanian computer centers it is
likely that the last character should really be \u0173, the latin small letter u with
ogonek.
Delivery-receipt-to: ###@###.###
X-Confirm-reading-to: ###@###.###
X-PMrqc: 1
Date: Wed, 15 Mar 2000 07:21:26 +0200
From: Gintautas Grigas <###@###.###>
Subject: Lithuanian letter
To: Allan Jacobs <###@###.###>
Cc: Danute Vanseviciene MII <###@###.###>
MIME-version: 1.0
Content-transfer-encoding: 7BIT
> ---------- Forwarded message ----------
> Date: Mon, 13 Mar 2000 15:26:09 -0800 (PST)
> From: Allan Jacobs <###@###.###>
> To: ###@###.###, ###@###.###, ###@###.###,
> ###@###.###, ###@###.###
>
>
> Gentleman,
>
> I have a question regarding internationalizing computer software.
> There is a method in the Java language that is supposed to return
> the language for a given locale. Unfortunately, the last character
> in the string that is returned cannot be printed. This leads me
> to suspect that the method is returning the wrong string.
>
> What is printed is 'Lietuvi?'. Our internationalization engineer
> says that the last character is Unicode character \u0159, and should be
> the latin small letter r with a caron.
That letter is LATIN SMALL LETTER U WITH OGONEK and its
code is U+0173.
Do not hesitate to ask if other question will arrise.
Sincerely,
Gintautas Grigas
--
Gintautas Grigas
Matematikos ir informatikos institutas
Akademijos 4, Vilnius 2600
tel. 729601
allan.jacobs@Eng 2000-03-15