Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2018 16:50:53 +0100
From:      Pascal Christen <pascal.christen@hostpoint.ch>
To:        freebsd-bugs@freebsd.org
Subject:   iconv - different output on Linux
Message-ID:  <cef842c4-0a66-43ec-a1db-5a644f85dbdc@hostpoint.ch>

next in thread | raw e-mail | index | archive | help
Hi

I have a problem with iconv (libc) or maybe it's by design on BSD:

FreeBSD11.2:
[test@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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cef842c4-0a66-43ec-a1db-5a644f85dbdc>