https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219900

            Bug ID: 219900
           Summary: tr class and unicode collation
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

It seems that there is a bug in unicode collation using tr to convert char to
uppercase :

manu@arcadia> echo $LC_ALL                                                      
en_US.UTF-8
manu@arcadia> echo test | tr '[:lower:]' '[:upper:]'
TEST
manu@arcadia> echo test | tr '[:alpha:]' '[:upper:]'                            
ÓÄÒÓ
manu@arcadia> echo test | tr '[:alnum:]' '[:upper:]'                            
ÞÎÝÞ
manu@arcadia> export LC_ALL=C
manu@arcadia> echo test | tr '[:lower:]' '[:upper:]'                            
TEST
manu@arcadia> echo test | tr '[:alpha:]' '[:upper:]'                            
ZZZZ
manu@arcadia> echo test | tr '[:alnum:]' '[:upper:]'                            
ZZZZ

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to