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

Hiroki Sato hrs at FreeBSD.org
Fri Dec 6 08:17:44 UTC 2013


Michael Gmelin <freebsd at grem.de> wrote
  in <20131206001554.0d9d3e23 at bsd64.grem.de>:

fr> I'm in the process of changing ports from ports iconv to iconv in base.
fr> I noticed that transliteration doesn't work in base as it does with
fr> iconv from ports. Examples:
fr>
fr> "T\xc5\xbdst"
fr> ports: "TZst"
fr> base: "Tst"
fr>
fr> "T\xe2\x82\xacst"
fr> ports: "TEURst"
fr> base: "Tst"
fr>
fr> Conversion done using:
fr> iconv_open("ISO8859-1//IGNORE//TRANSLIT", "UTF-8");
fr>
fr> Any ideas?

 //TRANSLIT is a GNU iconv specific extension and iconv in base (and
 other POSIX systems) does not support it.  Does your software depend
 on it?

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131206/2636bb4d/attachment.sig>


More information about the freebsd-ports mailing list