phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [phpGroupWare-developers] Re: [Phpgroupware-cvs] [20896] Bug fix : c


From: Sigurd Nes
Subject: Re: [phpGroupWare-developers] Re: [Phpgroupware-cvs] [20896] Bug fix : check for already encoded utf8 stuff ...
Date: Wed, 25 Nov 2009 22:07:50 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Benoit Hamet wrote:
Hi Sigurd,

That one didn't work (for me).
the mb_detect_encoding($text) is detecting the text as utf-8 even if it
is ISO-8859-1

This is a problem in your configuration of php. Anyway, I commit a fix
that should work in most configuration. Note that our non ISO-8859-1
users will have problem with your code, since I'm not sure that
utf8_encode is able to take their charset into account ...


Great - it works fine

Thanks

Sigurd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]