You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Kalle Korhonen (JIRA)" <my...@incubator.apache.org> on 2005/06/07 04:49:43 UTC

[jira] Created: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8
----------------------------------------------------------------------------------------------------------------------------------------

         Key: MYFACES-272
         URL: http://issues.apache.org/jira/browse/MYFACES-272
     Project: MyFaces
        Type: Improvement
    Versions: Nightly Build    
    Reporter: Kalle Korhonen


Encoding all non-latin characters is unnecessary if the response specifies UTF-8 as character encoding and causes a major performance hit. Will provide a patch to do this only when UTF-8 is not used as encoding.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Updated: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by Adam Winer <aw...@gmail.com>.
On 9/2/05, Kalle Korhonen (JIRA) <my...@incubator.apache.org> wrote:

> A tip for people trying it out, to properly set UTF-8, you need to use an encoding filter.

Why?  This shouldn't be necessary, since a JSF implementation should
restore the character encoding during Restore View.  (I think this is
in the spec, though I'm being lazy right now and not checking...)

Cheers,
Adam Winer

Re: [jira] Closed: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by Martin Marinschek <ma...@gmail.com>.
Please open this as an improvement jira-issue!

regards,

Martin

On 10/5/05, Adam Winer <aw...@gmail.com> wrote:
>
> A couple of suggested improvements for the patch:
>
> - Perform the encoding check once, in the constructor, and save a boolean
> instance variable, to save lots of unnecessary String.equals() calls.
> - Support all of the Unicode encodings, which as of 1.4.2 were:
>
> UTF-8
>
> UTF8
>
> Eight-bit UCS Transformation Format
>
> UTF-16
>
> UTF-16
>
> Sixteen-bit UCS Transformation Format, byte order identified by an
> optional byte-order mark
>
> UTF-16BE
>
> UnicodeBigUnmarked
>
> Sixteen-bit Unicode Transformation Format, big-endian byte order
>
> UTF-16LE
>
> UnicodeLittleUnmarked
>
> Sixteen-bit Unicode Transformation Format, little-endian byte order
>
> -- Adam
>
>
> On 10/4/05, Martin Marinschek (JIRA) <myfaces-dev@incubator.apache.org >
> wrote:
> >
> > [ http://issues.apache.org/jira/browse/MYFACES-272?page=all ]
> >
> > Martin Marinschek closed MYFACES-272:
> > -------------------------------------
> >
> > Resolution: Fixed
> > Assign To: Martin Marinschek
> >
> > Thanks to Kalle Korhonen for this patch!
> >
> > > MyFaces unnecessary encodes all non-latin characters as numeric
> > character references even if response character encoding is set to UTF-8
> > >
> > ----------------------------------------------------------------------------------------------------------------------------------------
> >
> > >
> > > Key: MYFACES-272
> > > URL: http://issues.apache.org/jira/browse/MYFACES-272
> > > Project: MyFaces
> > > Type: Improvement
> > > Components: Implementation
> > > Versions: 1.1.0
> > > Reporter: Kalle Korhonen
> > > Assignee: Martin Marinschek
> > > Attachments: myfaces-272-conditionallyEncodeChars.patch
> > >
> > > Encoding all non-latin characters is unnecessary if the response
> > specifies UTF-8 as character encoding and causes a major performance hit.
> > Will provide a patch to do this only when UTF-8 is not used as encoding.
> >
> > --
> > 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
> > -
> > For more information on JIRA, see:
> > http://www.atlassian.com/software/jira
> >
> >
>


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German

Re: [jira] Closed: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by Adam Winer <aw...@gmail.com>.
A couple of suggested improvements for the patch:

- Perform the encoding check once, in the constructor, and save a boolean
instance variable, to save lots of unnecessary String.equals() calls.
- Support all of the Unicode encodings, which as of 1.4.2 were:

UTF-8

UTF8

Eight-bit UCS Transformation Format

UTF-16

UTF-16

Sixteen-bit UCS Transformation Format, byte order identified by an optional
byte-order mark

UTF-16BE

UnicodeBigUnmarked

Sixteen-bit Unicode Transformation Format, big-endian byte order

UTF-16LE

UnicodeLittleUnmarked

Sixteen-bit Unicode Transformation Format, little-endian byte order

-- Adam


On 10/4/05, Martin Marinschek (JIRA) <my...@incubator.apache.org>
wrote:
>
> [ http://issues.apache.org/jira/browse/MYFACES-272?page=all ]
>
> Martin Marinschek closed MYFACES-272:
> -------------------------------------
>
> Resolution: Fixed
> Assign To: Martin Marinschek
>
> Thanks to Kalle Korhonen for this patch!
>
> > MyFaces unnecessary encodes all non-latin characters as numeric
> character references even if response character encoding is set to UTF-8
> >
> ----------------------------------------------------------------------------------------------------------------------------------------
> >
> > Key: MYFACES-272
> > URL: http://issues.apache.org/jira/browse/MYFACES-272
> > Project: MyFaces
> > Type: Improvement
> > Components: Implementation
> > Versions: 1.1.0
> > Reporter: Kalle Korhonen
> > Assignee: Martin Marinschek
> > Attachments: myfaces-272-conditionallyEncodeChars.patch
> >
> > Encoding all non-latin characters is unnecessary if the response
> specifies UTF-8 as character encoding and causes a major performance hit.
> Will provide a patch to do this only when UTF-8 is not used as encoding.
>
> --
> 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
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
>
>

[jira] Updated: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-272?page=all ]

sean schofield updated MYFACES-272:
-----------------------------------

    Fix Version:     (was: Nightly Build)
        Version: Nightly Build

> MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-272
>          URL: http://issues.apache.org/jira/browse/MYFACES-272
>      Project: MyFaces
>         Type: Improvement
>   Components: JSF 1.1
>     Versions: Nightly Build
>     Reporter: Kalle Korhonen

>
> Encoding all non-latin characters is unnecessary if the response specifies UTF-8 as character encoding and causes a major performance hit. Will provide a patch to do this only when UTF-8 is not used as encoding.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by "Martin Marinschek (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-272?page=all ]
     
Martin Marinschek closed MYFACES-272:
-------------------------------------

    Resolution: Fixed
     Assign To: Martin Marinschek

Thanks to Kalle Korhonen for this patch!

> MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-272
>          URL: http://issues.apache.org/jira/browse/MYFACES-272
>      Project: MyFaces
>         Type: Improvement
>   Components: Implementation
>     Versions: 1.1.0
>     Reporter: Kalle Korhonen
>     Assignee: Martin Marinschek
>  Attachments: myfaces-272-conditionallyEncodeChars.patch
>
> Encoding all non-latin characters is unnecessary if the response specifies UTF-8 as character encoding and causes a major performance hit. Will provide a patch to do this only when UTF-8 is not used as encoding.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by "Kalle Korhonen (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-272?page=all ]

Kalle Korhonen updated MYFACES-272:
-----------------------------------

    Attachment: myfaces-272-conditionallyEncodeChars.patch

Patch created against the latest code from SVN.
I generally don't like the quality of code in HtmlResponseWriter. There's a lot of duplicate code that could be refactored to something more maintainable. However, I didn't try to refactor it now but only made changes to conditionally encode characters as numeric character references. I don't think I made it any worse by doing so. Tested with response set to latin-1 and UTF-8, with basic ASCII, latin-1 and non-latin-1 characters

> MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-272
>          URL: http://issues.apache.org/jira/browse/MYFACES-272
>      Project: MyFaces
>         Type: Improvement
>     Versions: Nightly Build
>     Reporter: Kalle Korhonen
>  Attachments: myfaces-272-conditionallyEncodeChars.patch
>
> Encoding all non-latin characters is unnecessary if the response specifies UTF-8 as character encoding and causes a major performance hit. Will provide a patch to do this only when UTF-8 is not used as encoding.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by "Kalle Korhonen (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-272?page=all ]

Kalle Korhonen updated MYFACES-272:
-----------------------------------

    Attachment: myfaces-272-conditionallyEncodeChars.patch

This is a slightly modified version of the previous patch, built against MyFaces head on 09/01/05. Sean, I've tested with simple examples and I didn't see the double output you reported about (neither this or the previous patch should cause anything like that). Once again, it's tested with ISO-8859-1 and UTF-8 encodings set and 7 & 8-bit (in Latin-X character sets) and multibyte characters with verified results. Could it have been caused by something else (for example, I see double output regularly when reloading a modified page the first time when a previous component tree exists)? We'll continue to do our own testing and I report the results here, but I wanted to get the patch out for others to try it out first.

A tip for people trying it out, to properly set UTF-8, you need to use an encoding filter.

> MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-272
>          URL: http://issues.apache.org/jira/browse/MYFACES-272
>      Project: MyFaces
>         Type: Improvement
>   Components: Implementation
>     Versions: 1.0.10m10
>     Reporter: Kalle Korhonen
>  Attachments: myfaces-272-conditionallyEncodeChars.patch
>
> Encoding all non-latin characters is unnecessary if the response specifies UTF-8 as character encoding and causes a major performance hit. Will provide a patch to do this only when UTF-8 is not used as encoding.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by "Kalle Korhonen (JIRA)" <my...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-272?page=comments#action_12318183 ] 

Kalle Korhonen commented on MYFACES-272:
----------------------------------------

I'm very surprised that this change could cause double output, unless, you intentionally set the encoding to UTF-8 in header and then back to Latin-1 with a page directive which can lead to unpredictable results. Anyway, I have a little more elegant patch for this which we've been successfully using for months. Will check the examples and commit a new patch.

> MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-272
>          URL: http://issues.apache.org/jira/browse/MYFACES-272
>      Project: MyFaces
>         Type: Improvement
>   Components: JSF 1.1
>     Versions: Nightly Build
>     Reporter: Kalle Korhonen
>      Fix For: Nightly Build
>  Attachments: myfaces-272-conditionallyEncodeChars.patch
>
> Encoding all non-latin characters is unnecessary if the response specifies UTF-8 as character encoding and causes a major performance hit. Will provide a patch to do this only when UTF-8 is not used as encoding.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-272?page=all ]

sean schofield updated MYFACES-272:
-----------------------------------

    Component: JSF 1.1

> MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-272
>          URL: http://issues.apache.org/jira/browse/MYFACES-272
>      Project: MyFaces
>         Type: Improvement
>   Components: JSF 1.1
>     Versions: Nightly Build
>     Reporter: Kalle Korhonen
>      Fix For: Nightly Build
>  Attachments: myfaces-272-conditionallyEncodeChars.patch
>
> Encoding all non-latin characters is unnecessary if the response specifies UTF-8 as character encoding and causes a major performance hit. Will provide a patch to do this only when UTF-8 is not used as encoding.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-272?page=all ]
     
sean schofield closed MYFACES-272:
----------------------------------

    Fix Version: Nightly Build
     Resolution: Fixed

Thanks for the patch.

> MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-272
>          URL: http://issues.apache.org/jira/browse/MYFACES-272
>      Project: MyFaces
>         Type: Improvement
>     Versions: Nightly Build
>     Reporter: Kalle Korhonen
>      Fix For: Nightly Build
>  Attachments: myfaces-272-conditionallyEncodeChars.patch
>
> Encoding all non-latin characters is unnecessary if the response specifies UTF-8 as character encoding and causes a major performance hit. Will provide a patch to do this only when UTF-8 is not used as encoding.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by Eirikur Hrafnsson <ei...@idega.is>.
Hi Kalle,

you contacted us some time ago to test your Unicode patch but I was  
unable too at the time.

Since then we have updated our framework to use myfaces 1.1.0.
Is the patch not included in that version?

It seems that every special character is still being encoded even  
though we are using UTF-8?
Is there some property or coding we need to do to enable it (or  
rather disable it)?

Best regards
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ 
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Eirikur S. Hrafnsson
Chief Software Engineer

eiki@idega.is


¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ 
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Idega hf.  ı  Engjavegi 6  ı  104 Reykjavík  ı  Iceland
Tel. +354 554 7557  ı  Fax +354 885 7557

http://www.idega.com  ı  idega@idega.com


On 14.9.2005, at 04:14, Kalle Korhonen (JIRA) wrote:

>     [ http://issues.apache.org/jira/browse/MYFACES-272? 
> page=comments#action_12324510 ]
>
> Kalle Korhonen commented on MYFACES-272:
> ----------------------------------------
>
> We are done with our in-house testing and everything worked as  
> expected. I've personally tested with simple examples and couldn't  
> see anything wrong. Sean, I know you are busy but since you applied  
> and later reverted the patch, I think it's your duty to apply this  
> or clarify the "double output" problem.
>
>
>> MyFaces unnecessary encodes all non-latin characters as numeric  
>> character references even if response character encoding is set to  
>> UTF-8
>> --------------------------------------------------------------------- 
>> -------------------------------------------------------------------
>>
>>          Key: MYFACES-272
>>          URL: http://issues.apache.org/jira/browse/MYFACES-272
>>      Project: MyFaces
>>         Type: Improvement
>>   Components: Implementation
>>     Versions: 1.0.10m10
>>     Reporter: Kalle Korhonen
>>  Attachments: myfaces-272-conditionallyEncodeChars.patch
>>
>> Encoding all non-latin characters is unnecessary if the response  
>> specifies UTF-8 as character encoding and causes a major  
>> performance hit. Will provide a patch to do this only when UTF-8  
>> is not used as encoding.
>>
>
> -- 
> 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
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>
>


[jira] Commented: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by "Kalle Korhonen (JIRA)" <my...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-272?page=comments#action_12324510 ] 

Kalle Korhonen commented on MYFACES-272:
----------------------------------------

We are done with our in-house testing and everything worked as expected. I've personally tested with simple examples and couldn't see anything wrong. Sean, I know you are busy but since you applied and later reverted the patch, I think it's your duty to apply this or clarify the "double output" problem.

> MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-272
>          URL: http://issues.apache.org/jira/browse/MYFACES-272
>      Project: MyFaces
>         Type: Improvement
>   Components: Implementation
>     Versions: 1.0.10m10
>     Reporter: Kalle Korhonen
>  Attachments: myfaces-272-conditionallyEncodeChars.patch
>
> Encoding all non-latin characters is unnecessary if the response specifies UTF-8 as character encoding and causes a major performance hit. Will provide a patch to do this only when UTF-8 is not used as encoding.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Reopened: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-272?page=all ]
     
sean schofield reopened MYFACES-272:
------------------------------------


Patch was reverted.  Causing "double output" of HTML.  Simple examples were showing two sortable tables for instance.

> MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-272
>          URL: http://issues.apache.org/jira/browse/MYFACES-272
>      Project: MyFaces
>         Type: Improvement
>   Components: JSF 1.1
>     Versions: Nightly Build
>     Reporter: Kalle Korhonen
>      Fix For: Nightly Build
>  Attachments: myfaces-272-conditionallyEncodeChars.patch
>
> Encoding all non-latin characters is unnecessary if the response specifies UTF-8 as character encoding and causes a major performance hit. Will provide a patch to do this only when UTF-8 is not used as encoding.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (MYFACES-272) MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-272?page=all ]

sean schofield updated MYFACES-272:
-----------------------------------

    Version:     (was: Nightly Build)

> MyFaces unnecessary encodes all non-latin characters as numeric character references even if response character encoding is set to UTF-8
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-272
>          URL: http://issues.apache.org/jira/browse/MYFACES-272
>      Project: MyFaces
>         Type: Improvement
>   Components: JSF 1.1
>     Versions: Nightly Build
>     Reporter: Kalle Korhonen

>
> Encoding all non-latin characters is unnecessary if the response specifies UTF-8 as character encoding and causes a major performance hit. Will provide a patch to do this only when UTF-8 is not used as encoding.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira