You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/04/25 21:24:46 UTC

[jira] Closed: (STR-1625) MessageResources quoting single quotes

     [ http://issues.apache.org/struts/browse/STR-1625?page=all ]
     
Don Brown closed STR-1625:
--------------------------

    Resolution: Duplicate

> MessageResources quoting single quotes
> --------------------------------------
>
>          Key: STR-1625
>          URL: http://issues.apache.org/struts/browse/STR-1625
>      Project: Struts Action 1
>         Type: Improvement

>   Components: Action
>     Versions: 1.0.2
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Derek Greer
>     Priority: Minor
>      Fix For: 1.2 Family

>
> Since version 1.0.2 MessageResources quotes single quotes found within the
> properties files. According to the javadocs for the MessageFormat class, literal
> open and close braces are produced by quoting them with single quotes, and
> single quotes are produced by using two single quotes.
>  The problem with MessageResources quoting single quotes is that it disables the
> ability to produce literal braces (not to mention it causes properties files to
> no longer be compatiable with regular resource bundle usage).  This in turn
> causes problems with internationalization.  Because certain languages like
> Chinese Traditional and Japanese use open and close braces (\u007b and \u007d)
> to represent characters, this corrupts the content.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org