DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21986>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21986

add accept-charset attribute to html:form

           Summary: add accept-charset attribute to html:form
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


As defined in HTML http://www.w3.org/TR/html4/interact/forms.html

The accept-charset attribute in HTML form tag specifies the list of character
encodings for input data that is accepted by the server processing this form.

Without this attribute user can change the encoding for themselves using menu
options in browser (e.g. change to ISO-8859) but my JSP server expected the
character encoding in UTF-8.

With this attribute, I can force the encoding in UTF-8 as follows

<form action=... method="post" accept-encoding="UTF-8">

Thanks
C.N.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to