[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "tr" doesn't seems to be locale sensitive (UTF-8 problem)
From: |
Ismail Donmez |
Subject: |
Re: "tr" doesn't seems to be locale sensitive (UTF-8 problem) |
Date: |
Mon, 13 Mar 2006 09:49:35 +0200 |
User-agent: |
KMail/1.9.1 |
Hi,
Salı 28 Şubat 2006 16:09 tarihinde, Nico Bdav şunları yazmıştı:
> Description of problem:
> Using tr to translate accentuated characters to simple characters.
>
>
> Version-Release number of selected component (if applicable):
> rpm -qf /usr/bin/tr
> coreutils-5.2.1-48.1
>
> How reproducible:
> Everytime using tr with $LANG=fr_FR.UTF-8
> echo "février" | tr "àçéèêëîïôöùüÂÇÉÈÊËÎÏÔÖÙÜ"
> "aceeeeiioouuACEEEEIIOOUU" fUevrier
>
>
> Steps to Reproduce:
> 1. Verify your locale for me it was LANG=fr_FR.UTF-8
> 2. Use tr as expected in the man page tr "àçéèêëîïôöùüÂÇÉÈÊËÎÏÔÖÙÜ"
> "aceeeeiioouuACEEEEIIOOUU"
> 3.
>
> Actual results:
> echo "février" | tr "àçéèêëîïôöùüÂÇÉÈÊËÎÏÔÖÙÜ"
> "aceeeeiioouuACEEEEIIOOUU" fUevrier
>
>
> Expected results:
> echo "février" | tr "àçéèêëîïôöùüÂÇÉÈÊËÎÏÔÖÙÜ"
> "aceeeeiioouuACEEEEIIOOUU" fevrier
>
> Here you will find bug-reports with screenshots:
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183334
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=120933
This has been reported before and the solution is someone should write a
correct utf8 patch for tr.
Regards,
ismail
--
An eye for eye will make the whole world blind -- Gandhi
pgpgBvMlcLmMq.pgp
Description: PGP signature