Anyway, I'm going through the thread you pointed... So far it seems the Character Encoding Filter is a good solution, but I keep hoping that some "simpler" solution is around the corner :^)
Thanks again Kishore... Have a good night!
Regards,
Carlos
----- Original Message ----- From: "Kishore Senji" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Monday, January 31, 2005 7:47 PM
Subject: Re: [UNICODE characters in Mask validation rule]
Good evening. I'm a little stuck trying to create a global constant in validation.xml that allows the mask rule to validate "special" spanish characters like Ñ [ UNICODE = \u00d1 ] for names, surnames, city names and so... Can someone give a hint ;^) ? Mi RegExp is like this: ^[A-Z.Ñ\s]*$
Something like this, I suppose
<global> <constant> <constant-name>name</constant-name> <constant-value> ^[A-Z.\u00d1\s]*$</constant-value> </global>
But make sure you use the right character encoding for the request. http://marc.theaimsgroup.com/?l=struts-user&m=110484806414499&w=2 should give your more information on character encoding
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]