http://www.icyphoenix.com/viewtopic.php?f=35&t=7009&p=48201#p48201
-----------------------------------
Ripley
Tue 09 Mar, 2010 14:30

Re: Nickname With Russian Letters
-----------------------------------
[b]TheSteffen[/b], thank you very much, I tried this:


preg_match("/^[a-z0-9&\-_ &#1040;&#1072;&#1041;&#1073;&#1042;&#1074;&#1043;&#1075;&#1044;&#1076;&#1045;&#1077;&#1025;&#1105;&#1046;&#1078;&#1047;&#1079;&#1048;&#1080;&#1049;&#1081;&#1050;&#1082;&#1051;&#1083;&#1052;&#1084;&#1053;&#1085;&#1054;&#1086;&#1055;&#1087;&#1056;&#1088;&#1057;&#1089;&#1058;&#1090;&#1059;&#1091;&#1060;&#1092;&#1061;&#1093;&#1062;&#1094;&#1063;&#1095;&#1064;&#1096;&#1065;&#1097;&#1066;&#1098;&#1067;&#1099;&#1068;&#1100;&#1069;&#1101;&#1070;&#1102;&#1071;&#1103;]+$/i" here was a usual this username is not available 

if (!preg_match("/^[_0-9A-Za-z&#1040;-&#1071;&#1072;-&#1103;&#1025;&#1105;]+$/u", $username)) this was some error :[Icy Phoenix Debug] PHP Notice: in file /includes/functions_validate.php on line 103: preg_match() [function.preg-match]: Compilation failed: invalid UTF-8 string at offset 13
1
I saw 103 line is right here if (!preg_match("/^[_0-9A-Za-z&#1040;-&#1071;&#1072;-&#1103;&#1025;&#1105;]+$/u", $username)) , but I do not know wher exactly..


