[horde] Active Sync Problem

Michael M Slusarz slusarz at horde.org
Tue Jan 8 20:03:14 UTC 2013


Quoting Helmut Schiefer <Helmut at 4schiefer.de>:

> If I do:
> ===================
> $test = 'öäüß';
> var_dump(Horde_String::validUtf8($test));
>
> Result=> bool(false)

I've added this to the unit test and it makes no difference - the test  
still passes:

---

slusarz at bigworm % phpunit StringTest.php
PHPUnit 3.7.10 by Sebastian Bergmann.

Configuration read from  
/disk2/src/horde/framework/Util/test/Horde/Util/phpunit.xml

.S.S..S.........

Time: 0 seconds, Memory: 4.00Mb

OK, but incomplete or skipped tests!
Tests: 16, Assertions: 92, Skipped: 3.

---

>>> locale -a
> C

Locales are (or at least *should* be) irrelevant.  All the Utf8 test  
is doing is going byte-by-byte through the PHP string to check on the  
data composition of the underlying string.

Someone will have to tell us WHERE in Horde_String#validUtf8() the  
problem occurs, since no developer can reproduce with the exact test  
cases people claim is broken on their servers.

Regardless, further discussion must occur in  
http://bugs.horde.org/ticket/11930 rather than this list.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list