how to block "not single character word"
PHP Code:
% is 1 characters this core have bug i can't find where bug.... |
Re: how to block "not 1 characters word"
I'm not sure if this will work but it is similar to what you are doing:
PHP Code:
|
Re: how to block "not 1 characters word"
Quote:
sure no have 3characters word in name my english very bad sorry:cry: |
Re: how to block "not 1 characters word"
Quote:
That character that you posted (at least the one that I see) is decribed by Unicode as: U+FF05 Fullwidth percent sign And is only a single character. |
Re: how to block "not 1 characters word"
Quote:
PHP Code:
i want use "for" to do this |
Re: how to block "not 1 characters word"
Quote:
|
Re: how to block "not 1 characters word"
Quote:
strlen(name[next single word]) > 1 if single word len over "single characters" will kick but how to check one word because name[len] can't get over "single characters word" |
Re: how to block "not single character word"
Each slot in the variable "name" is a single character. If my name is "fysiks" then "name" would look like this:
Code:
name[0] = 'f' |
Re: how to block "not single character word"
Quote:
but if name is CHT CHS or JP or other language name = "中文" name[0] != '中' name[1] != '中' name[2] != '中' this word is three character in utf-8 two character in ascII name [0-2] = '中' so..how to chang next word start len to 'strlen' check |
Re: how to block "not single character word"
I still don't quite understand what is going on. I'm not sure that the characters that you are typing are being interpreted correctly by the forum.
Give me an example name and tell me what each of those characters are in UTF-8. So, my name is "fysiks", tell me {U+0066, U+0079, U+0073, U+0069, U+006B, U+0073} |
| All times are GMT -4. The time now is 14:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.