iconv - different output on Linux
Pascal Christen
pascal.christen at hostpoint.ch
Mon Nov 5 15:50:57 UTC 2018
Hi
I have a problem with iconv (libc) or maybe it's by design on BSD:
FreeBSD11.2:
[test at server:~] % echo 'Ørnæréjö' | iconv -f utf-8 -t ascii//TRANSLIT
Ornaer'ej"o
macOS Mojave:
Pascals-MBP:~ pascalchristen$ echo 'Ørnæréjö' | iconv -f utf-8
-tascii//TRANSLIT
Ornaer'ej"o
Ubuntu 18.04:
test at DE-NUE01 ~ # echo 'Ørnæréjö' | iconv -f utf-8 -t ascii//TRANSLIT
Ornaerejo
As you can see, on BSD some characters are with ' or " and on Linux it's
just as expected when using TRANSLIT. Any ideas?
Greetings Pascal
More information about the freebsd-bugs
mailing list