Subject: lib/3592: libc doesn't support localized character sets
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 05/08/1997 23:44:33
>Number: 3592
>Category: lib
>Synopsis: libc doesn't support localized character sets
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 8 14:50:02 1997
>Last-Modified:
>Originator: Matthias Scheler
>Organization:
Matthias Scheler http://home.pages.de/~tron/
>Release: 970422
>Environment:
System: NetBSD lyssa 1.2D NetBSD 1.2D (LYSSA) #0: Wed Apr 23 23:27:47 MEST 1997 tron@lyssa:/usr/src/sys/arch/i386/compile/LYSSA i386
>Description:
The current implementation of character set handling in "libc" isn't
localized. This way you can't select e.g. ISO-8859-1 as character set
to be able to use national characters.
>How-To-Repeat:
Try to enter national characters in e.g. "vi" or "talk".
>Fix:
Download ftp://colwyn.owl.de/pub/netbsd/experimental/ctype-locale.tar.gz
and integrate into the source tree.
[Sorry, but I didn't want to send 22KB of source code to this mailing list.]
With this patch you can e.g. set the environment variable "LC_CTYPE" to
"de"(*) to use ISO-8859-1 as character set.
(*) The countries for which ISO-8859-1 shell be used as character set can
be controlled with "ISOALIASES" in "src/share/ctype/Makefile".
>Audit-Trail:
>Unformatted: