From owner-freebsd-ports@FreeBSD.ORG Wed Dec 19 14:29:46 2007 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8FF416A417; Wed, 19 Dec 2007 14:29:46 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from hermes.wbtsystems.com (hermes.wbtsystems.com [193.120.231.28]) by mx1.freebsd.org (Postfix) with ESMTP id 9A00413C4E7; Wed, 19 Dec 2007 14:29:46 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from SUNYA (sunya.wbt.wbtsystems.com [10.12.1.197]) by hermes.wbtsystems.com (Postfix) with ESMTP id 14B19F7413; Wed, 19 Dec 2007 14:29:45 +0000 (GMT) From: "Barry Byrne" To: "'Jeremy Chadwick'" References: <000f01c8422b$3515d7b0$c5010c0a@SUNYA> <20071219113418.GA11378@eos.sc1.parodius.com> Date: Wed, 19 Dec 2007 14:29:40 -0000 Message-ID: <006501c8424b$975d8c90$c5010c0a@SUNYA> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AchCMxfKbMB+iIrhSNKpsI6v0yI8ygAB0P0A In-Reply-To: <20071219113418.GA11378@eos.sc1.parodius.com> Cc: ports@FreeBSD.org, hiromi@tac.tsukuba.ac.jp, beech@FreeBSD.org, perky@freebsd.org Subject: RE: FreeBSD Port: horde-base-3.1.5_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 14:29:46 -0000 > -----Original Message----- > From: Jeremy Chadwick [mailto:koitsu@FreeBSD.org] > Sent: 19 December 2007 11:34 > To: Barry Byrne > Cc: beech@FreeBSD.org; ports@FreeBSD.org; > hiromi@tac.tsukuba.ac.jp; ache@freebsd.org; perky@freebsd.org > > Checked the patched file (NLS.php) and I had something like this; > > > > \xa0 \xa0 \xa0 \xa0/* avoid FreeBSD issapce(3) bug */ > > \xa0 \xa0 \xa0 \xa0if(NLS::getCharset() == "UTF-8"){ > > \xa0 \xa0 \xa0 \xa0 \xa0 \xa0setlocale(LC_CTYPE,"C"); > > \xa0 \xa0 \xa0 \xa0} > > > > When I replaced the \xa0 with tabs, all was fine again. > > The parse error is probably because PHP does not have Unicode or > multibyte character support enabled. The patch file in question > contains actual Unicode characters. You might try rebuilding PHP with > Zend support for multibyte characters (it's an option in > "make config") > and see if that improves things. Jeremy, Thanks for the quick response. You're correct in assuming I don't have Multibyte enabled. However, I just rebuilt php on another machine and enabled multibyte, then built horde-base on that, but still had the same characters in the NLS.php file on that, so not sure what the problem is. Regards, Barry