Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2013 00:15:54 +0100
From:      Michael Gmelin <freebsd@grem.de>
To:        freebsd-ports@freebsd.org
Subject:   Differences between iconv from ports and iconv in base (transliteration)
Message-ID:  <20131206001554.0d9d3e23@bsd64.grem.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131206001554.0d9d3e23>