You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2006/11/26 05:19:57 UTC
[jira] Closed: (STR-876) [taglib] Lack of character-set while using
tag
[ http://issues.apache.org/struts/browse/STR-876?page=all ]
Paul Benedict closed STR-876.
-----------------------------
Fix Version/s: 1.3.6
(was: Future)
Resolution: Not A Problem
Assignee: (was: Struts Developers)
Because multiple character sets can be mapped to a locale, there is no 1-to-1 relationship which allows Struts to automatically select the correct character set. And since JSP already allows this as a directive, it does not make sense to duplicate the functionality. Based on the recommendations of the comments, this will be closed without a fix. The workarounds described are the best practices.
> [taglib] Lack of character-set while using <html:html > tag
> ------------------------------------------------------------
>
> Key: STR-876
> URL: http://issues.apache.org/struts/browse/STR-876
> Project: Struts 1
> Issue Type: Improvement
> Components: Taglibs
> Affects Versions: Nightly Build
> Environment: Operating System: HP-UX
> Platform: HP
> Reporter: Z.G.Yang
> Priority: Minor
> Fix For: 1.3.6
>
>
> I'm trying to use MultiLanguage (English&Chinese) with Struts. I use
> <html:html locale="true"> It works! A Chinese page shows.
> But browser can not get the correct character-set, So I have to choose
> character-set in menu View->Encoding->GB2312 to make it correct displayed.
> I think additionaly
> <meta http-equiv="content-type" content="text/html; charset=gb2312">
> should be added to the html page generated to make brower to choose correct
> character to show.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira