[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? ?php $the_string = '#1052;#1072;#1088;#1080;#1085;#1072; #1054;#1088;#1083;#1086;#1074;#1072;'; echo

[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? ?php $the_string = '#1052;#1072;#1088;#1080;#1085;#1072; #1054;#1088;#1083;#1086;#1074;#1072;'; echo