misc/81913: When locale is set to fr_FR.ISO8859-15

Nicolas Le Scouarnec nlsn at free.fr
Sun Jun 5 09:40:07 GMT 2005


>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 at shiva ~]% export LC_ALL=C
[nlsn at shiva ~]% echo bonjoureeetraval|tr a-z n-za-m
obawbherrrgeniny
[nlsn at shiva ~]% export LC_ALL=fr_FR.ISO8859-15
[nlsn at 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 at shiva ~]% export LC_ALL=fr_FR.ISO8859-1
[nlsn at shiva ~]% echo bonjoureeetraval|tr a-z n-za-m
øäâzäfèsssëènìná
[nlsn at shiva ~]% export LC_ALL=fr_FR.UTF-8
[nlsn at 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 at shiva.india.ath.cx:/usr/obj/usr/src/sys/SHIVA i386
 
 
 


More information about the freebsd-bugs mailing list