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

bugs at bugs.horde.org bugs at bugs.horde.org
Tue May 22 16:56:53 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         | Chuck Hagenbuch <chuck at horde.org>
 Summary            | Sidebar, Problem with umlaut (ä,ö,..) in IE
 Queue              | Horde Base
 Version            | 3.0
 Type               | Bug
 State              | Feedback
 Priority           | 2. Medium
 Owners             | Jan Schneider
-----------------------------------------------------------------------


Chuck Hagenbuch <chuck at horde.org> (2007-05-22 09:56) 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."

I'm in favor of a test.php addition with this strategy.



More information about the bugs mailing list