Differences between iconv from ports and iconv in base (transliteration)

Michael Gmelin freebsd at grem.de
Thu Dec 5 23:22:45 UTC 2013


I'm in the process of changing ports from ports iconv to iconv in base.
I noticed that transliteration doesn't work in base as it does with
iconv from ports. Examples:

"T\xc5\xbdst"
ports: "TZst"
base: "Tst"

"T\xe2\x82\xacst"
ports: "TEURst"
base: "Tst"

Conversion done using:
iconv_open("ISO8859-1//IGNORE//TRANSLIT", "UTF-8");

Any ideas?

-- 
Michael Gmelin


More information about the freebsd-ports mailing list