[Tickets #1052] Re: Sidebar, Problem with umlaut (ä,ö,..) in IE

bugs at bugs.horde.org bugs at bugs.horde.org
Tue May 22 14:39:04 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1052
-----------------------------------------------------------------------
 Ticket             | 1052
 Updated By         | thomas.jarosch at intra2net.com
 Summary            | Sidebar, Problem with umlaut (ä,ö,..) in IE
 Queue              | Horde Base
 Version            | 3.0
 Type               | Bug
 State              | Feedback
 Priority           | 2. Medium
 Owners             | Jan Schneider
-----------------------------------------------------------------------


thomas.jarosch at intra2net.com (2007-05-22 07:39) wrote:

> But it also returns false if it doesn't match, which is the whole 
> purpose of preg_match().

It returns (int)0 if it doesn't match and (boolean)false if there's an
error.
Also we could use a pattern that always matches like this:

echo "Result: ".preg_match("/.*/u", "test")."\n";

I just disabled utf-8 support again to test it. On the command line I have
even seen an error message:  
"Warning: preg_match(): Compilation failed: this version of PCRE is not
compiled with PCRE_UTF8 support at offset 0."




More information about the bugs mailing list