Subject: Bug#431231: tr fails with UTF-8

From: Juhapekka Tolvanen <[email-masked]>
Date: Sat, 30 Jun 2007 23:29:25 +0300

Package: coreutils
Version: 5.97-5.3
Severity: important

juhtolv@juhtolv:/home/juhtolv % echo 'huuhaa öljy äiti über' | tr '[:lower:]' '[:upper:]'
HUUHAA öLJY äITI üBER
juhtolv@juhtolv:/home/juhtolv % echo 'huuhaa öljy äiti über' | tr '[:lower:]' '[:upper:]' | tr 'åäöü' 'ÅÄÖÜ'
HUUHAA ÖLJY ÄITI ÜBER
juhtolv@juhtolv:/home/juhtolv %

See locale below.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing-proposed-updates'), (500, 'proposed-updates'), (101, 'testing'), (99, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)

Versions of packages coreutils depends on:
ii  libacl1                       2.2.41-1   Access control list shared library
ii  libc6                         2.5-9+b1   GNU C Library: Shared libraries
ii  libselinux1                   2.0.15-2   SELinux shared libraries

coreutils recommends no packages.

-- no debconf information

-- 
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"Denn du bist was du isst und ihr wisst was es ist. Es ist mein Teil – nein.
Mein Teil – nein. Da das ist mein Teil – nein. Mein Teil – nein."  Rammstein