Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2014 08:15:40 +0000 (GMT)
From:      Cyril Kalinchikov <cyr.k@me.com>
To:        gnome@FreeBSD.org
Subject:   libxml2 encoding problems on pre-10.0 FreeBSDs
Message-ID:  <61767973-5851-45d5-b243-4759b4bb77f5@me.com>

next in thread | raw e-mail | index | archive | help
Hello,

Apparently in the current ports snapshot the libxml2 port cannot "find" iconv installed (in a package) and thus only supports utf-8/ascii internal encodings.

Example (in PHP):
$xml = new SimpleXMLElement('<?xml version="1.0" encoding="windows-1251"?><orders></orders>');

This fails with the "Unsupported encoding" error. Works on FreeBSD 10+ (where iconv is in the base system).
This is pretty critical for us.

Thanks for a quick fix.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61767973-5851-45d5-b243-4759b4bb77f5>