NetBSD Problem Report #3592

Received: (qmail 27599 invoked from network); 8 May 1997 21:44:40 -0000
Message-Id: <199705082144.XAA01226@lyssa.owl.de>
Date: Thu, 8 May 1997 23:44:33 +0200 (MEST)
From: Matthias Scheler <tron@lyssa.owl.de>
Reply-To: tron@lyssa.owl.de
To: gnats-bugs@gnats.netbsd.org
Subject: libc doesn't support localized character sets
X-Send-Pr-Version: 3.95

>Number:         3592
>Category:       lib
>Synopsis:       libc doesn't support localized character sets
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jtc
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 08 14:50:02 +0000 1997
>Closed-Date:    Mon Nov 17 20:46:00 +0000 1997
>Last-Modified:  Mon Nov 17 20:48:54 +0000 1997
>Originator:     Matthias Scheler
>Release:        970422
>Organization:
Matthias Scheler                                http://home.pages.de/~tron/
>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".
>Release-Note:
>Audit-Trail:

Responsible-Changed-From-To: lib-bug-people->jtc
Responsible-Changed-By: jtc
Responsible-Changed-When: Thu May  8 15:44:41 1997
Responsible-Changed-Why:
I'll take care of evaluating this work.

State-Changed-From-To: open->closed 
State-Changed-By: kleink 
State-Changed-When: Mon Nov 17 12:46:00 PST 1997 
State-Changed-Why:  
The package's core has, modulo rework from Christos, been integrated. 
I've started working on a 1003.2-compliant locale definition utility, which 
will also cover the categories still missing, as well as some framework. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.