I have the following php code in a utf-8 php file:
var_dump(setlocale(LC_CTYPE, \'de_DE.utf8\', \'German_Germany.utf-8\', \'de_DE\', \'german\')); var_dump(m
Guess this was related to Bug #52971
PCRE-Meta-Characters like \b \w not working with unicode strings.
\b
\w
and fixed in PHP 5.3.4
PCRE extension: Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8).