From owner-freebsd-gnome@FreeBSD.ORG Fri May 16 10:19:48 2014 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 81A66568 for ; Fri, 16 May 2014 10:19:48 +0000 (UTC) Received: from fep15.mx.upcmail.net (fep15.mx.upcmail.net [62.179.121.35]) by mx1.freebsd.org (Postfix) with ESMTP id C52652F1D for ; Fri, 16 May 2014 10:19:47 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep15-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20140516101940.FTUL25806.viefep15-int.chello.at@edge04.upcmail.net>; Fri, 16 May 2014 12:19:40 +0200 Received: from crashalot.kantoor.acservices.nl ([213.127.215.2]) by edge04.upcmail.net with edge id 2aKf1o01X03gjjH03aKfrV; Fri, 16 May 2014 12:19:40 +0200 X-SourceIP: 213.127.215.2 Message-ID: <1400235540.1327.5.camel@crashalot.rainbow-runner.nl> Subject: Re: libxml2 encoding problems on pre-10.0 FreeBSDs From: Koop Mast To: Cyril Kalinchikov Date: Fri, 16 May 2014 12:19:00 +0200 In-Reply-To: <61767973-5851-45d5-b243-4759b4bb77f5@me.com> References: <61767973-5851-45d5-b243-4759b4bb77f5@me.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.2 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: gnome@FreeBSD.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2014 10:19:48 -0000 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(''); > > 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