Subject: misc/15363: ISO 8859-15 locale does not mark uppercase Y diaeresis as UPPER
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/25/2002 20:04:12
>Number:         15363
>Category:       misc
>Synopsis:       ISO 8859-15 locale does not mark uppercase Y diaeresis as UPPER
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 25 11:05:01 PST 2002
>Originator:     Joachim Kuebart
>Release:        NetBSD 1.5ZA, January 2002
System: NetBSD 1.5ZA NetBSD 1.5ZA (YACHT) #2: Fr Jan 18 15:51:59 CET 2002 i386
Architecture: i386
Machine: i386
     $NetBSD: en_US.DIS_8859-15.src,v 1.2 2001/03/26 19:56:35 tshiozak Exp $
In Latin 9 (aka ISO 8859-15), code position 0xbe is the uppercase Y
diaeresis letter. The corresponding lower case letter is found in
position 0xff like in Latin 1 (ISO 8859-1).

However, the abovementioned version of the ISO 8859-15 locale incorrectly
does not name code position 0xbe in the category UPPER.
Set the locale LC_CTYPE=de_DE.ISO8859-15 and start the vi editor; now,
enter a lower case y diaeresis and use the `~' editor command to get the
uppercase letter. The display will be `\xbe' because the editor does
not realize that the character is an upper case character.
Apply the diff below to en_UE.DIS_8859-15.src and install new locales.
Repeat the above steps. After that, you see the uppercase Y diaeresis,
provided you are using ISO 8859-15 display fonts.

Index: en_US.DIS_8859-15.src
RCS file: /cvsroot/sharesrc/share/locale/ctype/en_US.DIS_8859-15.src,v
retrieving revision 1.2
diff -u -r1.2 en_US.DIS_8859-15.src
--- en_US.DIS_8859-15.src	2001/03/26 19:56:35	1.2
+++ en_US.DIS_8859-15.src	2002/01/25 19:00:56
@@ -16,7 +16,7 @@
 LOWER		'a' - 'z' 0xa8 0xb8 0xbd 0xdf - 0xf6 0xf8 - 0xff
 PUNCT		0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e 0xa1 - 0xa5 0xa7 0xa9 - 0xb3 0xb5 - 0xb7 0xb9 - 0xbb 0xbf 0xd7 0xf7
 SPACE		0x09 - 0x0d ' ' 0xa0
-UPPER		'A' - 'Z' 0xa6 0xb4 0xbc 0xc0 - 0xd6 0xd8 - 0xde
+UPPER		'A' - 'Z' 0xa6 0xb4 0xbc 0xbe 0xc0 - 0xd6 0xd8 - 0xde
 XDIGIT		'0' - '9' 'a' - 'f' 'A' - 'F'
 BLANK		' ' '\t' 0xa0
 PRINT		0x20 - 0x7e 0xa0 - 0xff