FreeBSD Port: horde-base-3.1.5_1
Barry Byrne
barry.byrne at wbtsystems.com
Wed Dec 19 06:29:46 PST 2007
> -----Original Message-----
> From: Jeremy Chadwick [mailto:koitsu at FreeBSD.org]
> Sent: 19 December 2007 11:34
> To: Barry Byrne
> Cc: beech at FreeBSD.org; ports at FreeBSD.org;
> hiromi at tac.tsukuba.ac.jp; ache at freebsd.org; perky at 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
More information about the freebsd-ports
mailing list