Package: perl Version: 5.8.4-8 Severity: normal It seems that UTF8 encoded strings are sorted incorrectly under "use locale". See below for an example.
% locale LANG=fi_FI LC_CTYPE="fi_FI" LC_NUMERIC="fi_FI" LC_TIME="fi_FI" LC_COLLATE="fi_FI" LC_MONETARY="fi_FI" LC_MESSAGES=en_US LC_PAPER="fi_FI" LC_NAME="fi_FI" LC_ADDRESS="fi_FI" LC_TELEPHONE="fi_FI" LC_MEASUREMENT="fi_FI" LC_IDENTIFICATION="fi_FI" LC_ALL= % perl -wle 'use locale; @a = @b = qw(a A b B c C � � � � � �); utf8::upgrade($_) for @b; print sort @a; print sort @b;' aAbBcC������ aA������bBcC -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: LANG=fi_FI, LC_CTYPE=fi_FI (charmap=ISO-8859-1) Versions of packages perl depends on: ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [ ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime ii perl-base 5.8.4-8 The Pathologically Eclectic Rubbis ii perl-modules 5.8.4-8 Core Perl modules -- no debconf information

