Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  5 Jun 2005 11:35:52 +0200 (CEST)
From:      Nicolas Le Scouarnec <nlsn@free.fr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/81913: When locale is set to fr_FR.ISO8859-15
Message-ID:  <20050605093552.0B94FA738@shiva.india.ath.cx>
Resent-Message-ID: <200506050940.j559e6Xd046250@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81913
>Category:       misc
>Synopsis:       When locale is set to fr_FR.ISO8859-15
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 05 09:40:06 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Le Scouarnec
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
>Description:
	When locale is set to fr_FR-ISO8859-15, some programs no longer work correctly. As an example, the tr program looks a little disturbed:

[nlsn@shiva ~]% export LC_ALL=C
[nlsn@shiva ~]% echo bonjoureeetraval|tr a-z n-za-m
obawbherrrgeniny
[nlsn@shiva ~]% export LC_ALL=fr_FR.ISO8859-15
[nlsn@shiva ~]% echo bonjoureeetraval|tr a-z n-za-m
øâáýâférrrëénìnz


>How-To-Repeat:

	Just repeat the sequence of command seen above. I got the same result
on another freeBSD box running FreeBSD 5.4

>Fix:
	Just a work around: set LC_ALL to C if you need to use a program which
doesn't work when locale is set to fr_FR-8859-15. Moreover, some other locales
work:
[nlsn@shiva ~]% export LC_ALL=fr_FR.ISO8859-1
[nlsn@shiva ~]% echo bonjoureeetraval|tr a-z n-za-m
øäâzäfèsssëènìná
[nlsn@shiva ~]% export LC_ALL=fr_FR.UTF-8
[nlsn@shiva ~]% echo bonjoureeetraval|tr a-z n-za-m
obawbherrrgeniny
>Release-Note:
>Audit-Trail:
>Unformatted:
 >System: FreeBSD shiva.india.ath.cx 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue May 10 22:42:25 CEST 2005 root@shiva.india.ath.cx:/usr/obj/usr/src/sys/SHIVA i386
 
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050605093552.0B94FA738>