You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/11/16 18:33:14 UTC
[jira] Resolved: (WW-3331) validation problem for utf-8 chars in
arabic
[ https://issues.apache.org/struts/browse/WW-3331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-3331.
---------------------------------
Resolution: Not A Problem
please ask questions on the user mailing list
> validation problem for utf-8 chars in arabic
> --------------------------------------------
>
> Key: WW-3331
> URL: https://issues.apache.org/struts/browse/WW-3331
> Project: Struts 2
> Issue Type: Bug
> Components: XML Validators
> Environment: Windows , JBoss 4.2.2GA
> Reporter: Mohankumar
> Priority: Critical
>
> Hi,
> I am reporting this problem hoping someone with more knowledge could confirm whether it is a bug or just a setting issue.
> I am developing an application in struts2.1.6 where the input text can be entered in arabic or french or chinese .
> The isssue is detailed below :
> jsp:
> <s:form action="Create">
> <s:textfield key="username" />
> <s:textfield key="email" />
> <s:submit/>
> </s:form>
> The Validator.xml for my action is
> <validators>
> <field name="username">
> <field-validator type="requiredstring">
> <message >Enter Name</message>
> </field-validator>
> <field-validator type="stringlength">
> <param name="minLength">10</param>
> <message>Name shud have min of 10 chars</message>
> </field-validator>
> </field>
>
> </validators>
> Here from the UI screen if user enteres an arabic or chinese text , it is not going as utf-8 and if any of the validator fails the data entered by user is coming as ??????? .
> All the character encodings in UI screen are set to utf-8 .
> here , i am not talking abt the messages in validation.xml , i am talking abt the data entered by user as username and email ...
> The interceptors i am using here r defaultStack .
> So pls let me know the solution
> Thanks and Regards
> Mohan kumar.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.