Date: Mon, 16 Oct 1995 10:36:51 +1000 From: Bruce Evans <bde@zeta.org.au> To: hackers@freefall.freebsd.org, kaleb@x.org Cc: ache@astral.msk.su Subject: Re: A couple problems in FreeBSD 2.1.0-950922-SNAP Message-ID: <199510160036.KAA03511@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>>>just fixing ls isn't enough. The default table of character types in >>>libc/locale/table.c isn't populated well enought to handle the whole >>>ISO8859-1 character set. The following patch fixes ls, libc, and also >>Default code table is ASCII and _not_ ISO8859-1, so it not needed to be >>populated. Default code table is strict 7bit. >No, it doesn't need to be, but is there a reason it can't do the right >thing anyway? The table is defined as having 256 elements, so populating >it with something useful isn't going to hurt anything. The C standard. E.g., in the "C" locale, islower() and isupper() are specified as returning true only for the "C" lower and upper case letters. Thus in the ASCII table, _L and _U must not be set for characters >= 128. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510160036.KAA03511>