Thread [php] Problem mit Formularfelderüberprüfung und UTF-8 (103 answers)
Opened by Tom at 2008-10-04 14:02

Gast wer
 2010-11-18 22:25
#142862 #142862
Die Eingabe ist UTF8 kodiert:
Code: (dl )
1
2
c3b6 => ö
c39f => ß

Eine Minute suche erbrachte:
Quote
A special option is the /u which turns on the Unicode matching mode, instead of the default 8-bit matching mode. You should specify /u for regular expressions that use \x{FFFF}, \X or \p{L} to match Unicode characters, graphemes, properties or scripts. PHP will interpret '/regex/u' as a UTF-8 string rather than as an ASCII string.

Last edited: 2010-11-18 22:50:19 +0100 (CET)

View full thread [php] Problem mit Formularfelderüberprüfung und UTF-8