Kaixo!
On Sat, Sep 01, 2001 at 03:25:34PM +0200, Simon Josefsson wrote:
> > $ LANG=sv_SE.UTF-8 bash -c 'echo -e "�\n�\n�\nz" | sort'
LANG=sv_SE.UTF-8 bash -c 'echo -e "�\n�\n�\nz"|iconv -f latin1 -t utf-8|sort'
maybe ?
if you type in latin1 instead of utf-8 you need to convert.
You cannot type in the same terminal and expect to sort in latin1 and utf-8
from the same source. You need latin1 letters to test latin1 sorting
and utf-8 letters to test utf-8 sorting.
And the result should be the same, as the rules are independent of encoding.
I have � � � z for sv_SE, in both iso-8859-1, -15 and utf-8.
--
Ki �a vos v�ye b�n,
Pablo Saratxaga
http://www.srtxg.easynet.be/ PGP Key available, key ID: 0x8F0E4975
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/