In my webpage i validate the password i am using the validator framework and done it for language English.The browser setting is switched to other language
like french what can i do. i am using [A-Z][a-z][0-9] this type of regular expression to validate.It is same for french language or different. if it is different for french and germany.pls send me the regular expression or give me some idea to done for it.
Tell the users what characters they can use and validate the password against that. It's not an uncommon requirement that a password can contain only letters a-z or A-Z and numbers plus some punctuation characters. Passwords with accented or otherwise special characters are a pain in the neck.
If you insist knowing what characters are used to write a language, you can consult the letter database. For example to write French in addition to unaccented letters you need these:
http://www.eki.ee/letter/chardata.cgi?lang=fr+French&imgonly=on&script=latin
I still advice against allowing accented letters in passwords. It's easier for the user. They think they are smart putting such a password but then they realize they can't type it on a different keyboard layout or that they can't change it thanks to a software bug related to character encodings.