[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#854821: Transliteration in C.UTF-8 locales



Hi

I was just forced to look at this again (see #859219) and I think the
transliteration is not working as it should.

What is actually reason to make it behave differently on C.UTF-8 than
on other UTF-8 locales? Does it really have to be that either
transliteration of "ç" is broken or transliteration of "€" is broken
for this locale?

In most other UTF-8 locales (if not all, I've not tested this) both of
them work just fine:

$ echo "ça va €" | LC_ALL=en_GB.UTF-8  iconv -f UTF-8 -t
"ascii//TRANSLIT"
ca va EUR
$ echo "ça va €" | LC_ALL=de_DE.UTF-8  iconv -f UTF-8 -t
"ascii//TRANSLIT"
ca va EUR
$ echo "ça va €" | LC_ALL=cs_CZ.UTF-8  iconv -f UTF-8 -t
"ascii//TRANSLIT"
ca va EUR
$ echo "ça va €" | LC_ALL=C.UTF-8  iconv -f UTF-8 -t "ascii//TRANSLIT"
ca va iconv: illegal input sequence at position 7

Thanks for looking into this
-- 
	Michal Čihař | https://cihar.com/ | https://weblate.org/

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: