regular experssion

there is any regex(regular expression) in france and germany to validater like thes([A-Z,[a-z],[0-9])
[115 byte] By [allavudeen_screena] at [2007-11-27 6:00:33]
# 1
I'm not sure what you are asking but are you trying to create a Locale specific regular expression? If so then I'm pretty sure you can't automate this at this time and that you will have to explicitly define the characters to allow.
sabre150a at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 2

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.

allavudeen_screena at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 3
Add to the character sets the non English characters to allow! I don't know them, you will have to research them. You also need to understand regular expressions - this is a good site http://www.regular-expressions.info/ .Message was edited by: sabre150
sabre150a at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 4
You mean as a person from Germany, I'm allowed to enter 漩? but not ? and if I was from Great Britain I'd be doomed if I wanted to use any of these characters ...?
quittea at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 5
We are all doooomed, doooomed!
sabre150a at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 6

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.

jsalonena at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 7
> Passwords with accented or otherwise special characters are a pain in the neck.I'd like to underline this sentence twice with a big red marker.
quittea at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 8
There is any way to solve it .
allavudeen_screena at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 9
> There is any way to solve it .Yes.Step One : Collect big red markersStep Two : ?Step Three : Profit
cotton.ma at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 10

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.

jsalonena at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 11
Thank you for your conclusion
allavudeen_screena at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 12
any idea
sikkandar_5499a at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...
# 13
> any ideaYes. See http://forum.java.sun.com/thread.jspa?threadID=5178433&start=10
cotton.ma at 2007-7-12 16:38:55 > top of Java-index,Java Essentials,Java Programming...