You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Marek Sikl (JIRA)" <in...@incubator.apache.org> on 2005/03/07 15:51:53 UTC

[jira] Commented: (MYFACES-79) i18n error

     [ http://issues.apache.org/jira/browse/MYFACES-79?page=comments#action_60362 ]
     
Marek Sikl commented on MYFACES-79:
-----------------------------------

Hi,
I think that this issue is cased by ExtensionsFilter. It uses ExtensionsResponseWrapper which has own PrintWriter. Written chars are encoded to system default encoding. Method toString gets byte array from stream and create String using response encoding. When system and response encoding differ result destroy non latin characters.

Regards,
Marek Sikl


> i18n error
> ----------
>
>          Key: MYFACES-79
>          URL: http://issues.apache.org/jira/browse/MYFACES-79
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.8 beta
>  Environment: Windows2003 Standard-zh_CN,J2EE 1.4.2_02-b03,JBoss 4.0.1,Myfaces-1.0.8beta(2004.01.05)
>     Reporter: Jason Hoo

>
> Use tag with escape="false" (for example <h:outputText escape="false" ...>),i18n don't work properly with Simplified-Chinese. It work properly without escape="false" or with escape="true" , and it work properly with myfaces-1.0.7beta. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira