Date: Fri, 16 May 2014 10:45:15 +0000 (GMT) From: Cyril Kalinchikov <cyr.k@me.com> To: Koop Mast <kwm@rainbow-runner.nl> Cc: gnome@FreeBSD.org Subject: Re: libxml2 encoding problems on pre-10.0 FreeBSDs Message-ID: <3765909c-370b-4e1b-b831-59496260d8dd@me.com>
index | next in thread | raw e-mail
Yes, that works okay.
On May 16, 2014, at 02:19 PM, Koop Mast <kwm@rainbow-runner.nl> wrote:
On do, 2014-05-15 at 08:15 +0000, Cyril Kalinchikov wrote:
> 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.
Could you try the following patch?
http://people.freebsd.org/~kwm/libxml2-iconv.diff
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3765909c-370b-4e1b-b831-59496260d8dd>
