It appears that iconv cannot, for example, replace the letter Ø. It was also noted in the second answer to https://stackoverflow.com/questions/3371697/replacing-accented-characters-php
I have two questions:
- Can I make
iconvtell me which diacritics it did not convert? - Is there a list of diacritics,
iconvdoesn't support?
echo 'éèôØ' | iconv -t ascii//translitoutputseeoOEas expected. – vinc17 Dec 25 '14 at 18:38us-ascii. I will check it out whetherasciiis a better transliteration target. – MERose Dec 25 '14 at 18:57us-asciiis the same, but you may need a more recent C library (under GNU/Linux, GNU libc 2.19, not eglibc). – vinc17 Dec 25 '14 at 19:04echo 'éèôØ' | iconv -t ascii//translitoutputseeoOEbutecho 'éèôØ' | iconv -t us-ascii//translitgives meeeo?. Not for you? – MERose Dec 25 '14 at 19:16ascii//translitorus-ascii//translit, I get the same output:eeoOEwith GNU libc 2.19 (Debian/testing 8.0),eeo?on older machines. – vinc17 Dec 25 '14 at 20:15