RE: [PHP] Usage of strlen(tuf8_decode()) and "/u" regex modifier

2009-09-21 Thread Andrea Giammarchi
> $the_string = 'Марина > Орлова'; did you actually wrote this or i tis the PHP ml that converted utf-8 chars? I can read only an ASCII string with length 85 ... please tell me you are not confusing HTML entities with UTF-8 encoded characters ... __

[PHP] Usage of strlen(tuf8_decode()) and "/u" regex modifier

2009-09-21 Thread GoForThisWorld
Hello, As indicated below, the "strlen(tuf8_decode())" and the "/u" regex modifier do not work as per my understanding. 1) What is my misunderstanding? author (85 bytes):$the_string," . strlen($the_string) . ',' . strlen( utf8_decode( $the_string ) ) . ',' . strlen( utf8_decode

[PHP] Usage of strlen(tuf8_decode()) and "/u" regex modifier

2009-09-20 Thread GoForThisWorld
Hello, As indicated below, the "strlen(tuf8_decode())" and the "/u" regex modifier do not work as per my understanding. 1) What is my misunderstanding? author (85 bytes):$the_string," . strlen($the_string) . ',' . strlen( utf8_decode( $the_string ) ) . ',' . strlen( utf8_decod