On May 30, 2:25 pm, Joel Perras <[EMAIL PROTECTED]> wrote:
> http://en.wikipedia.org/wiki/Alphanumeric
>
> In case you don't click the above link:
>
> "Alphanumeric is a is portmanteau of alphabetic and numeric and is
> used to describe the collection of Latin letters and Arabic digits
> used by much of western society. There are either 36 (single case) or
> 62 (case-sensitive) alphanumeric characters. The alphanumeric
> character set consists of the numbers 0 to 9 and letters A to Z."
>
> I'd love for Cake to have a built-in validation rule that would
> validate all Latin/Cyrillic/Asian/Arabic alphanumeric characters, but
> that's pretty much impossible.

Validating them all at the same time might be, but localizing a
website to cater to different alphabets or languages is doable. When I
have to validate against Spanish rules, I don't cower in fear of kanji
or arabic, I simply validate alphanumeric characters for my language,
such as á, é, ñ, etc. After all, \w in Perl (or the equivalent regex
entity for a word) is localized, IIRC.

Saludos
Adriano

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to