Hi,
I use 1.2.0.7296 RC2 and got problems to check user input via regular
expressions.
In my project, users are able to change their name. Works well, except
when entering umlauts. My regex always identifies umlauts as illegal
characters.
The $validate array for the field looks like this:
'displayname' => array(
'rule' => array('custom', '/^[\w\p{L}\40]*$/u'),
'message' => 'illegal_characters'
)
In the html header the meta tag
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
is there.
I have no further idea how to solve this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---