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=21890>.
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=21890

MessageResources quoting single quotes

           Summary: MessageResources quoting single quotes
           Product: Struts
           Version: 1.0.2 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

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

Reply via email to