You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "johan Eltes (JIRA)" <de...@myfaces.apache.org> on 2007/09/04 00:07:00 UTC

[jira] Created: (MYFACES-1717) UTF-8 input processed as single-byte

UTF-8 input processed as single-byte
------------------------------------

                 Key: MYFACES-1717
                 URL: https://issues.apache.org/jira/browse/MYFACES-1717
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions:  1.2.0
         Environment: Windows XP, Mac OS 10.4.10
            Reporter: johan Eltes
            Priority: Blocker


Text with unmlauts entered via Faclet-generated html input field (browser inputEncoding = UTF-8), seems to process multi-byte UTF characters as a sequence of single-byte characters.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1717) UTF-8 input processed as single-byte

Posted by "Dirk Schirmer (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527052 ] 

Dirk Schirmer commented on MYFACES-1717:
----------------------------------------

I've got exactly the same problem and i'm not using Facelets. Alle the umlauts in an h:outputText Field show up as it should. Only the h:inputText Fields convert the umlauts with every Submit. Isn't this behavior a bug?

> UTF-8 input processed as single-byte
> ------------------------------------
>
>                 Key: MYFACES-1717
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1717
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions:  1.2.0
>         Environment: Windows XP, Mac OS 10.4.10
>            Reporter: johan Eltes
>            Priority: Blocker
>         Attachments: MyFaces JIRA After Submit.png, MyFaces JIRA Before Submit.png
>
>
> Text with unmlauts entered via a html input field (browser inputEncoding = UTF-8), seems to process multi-byte UTF characters as a sequence of single-byte characters. The webbrowser has inputEncoding = UTF-8. The user enters a single none-acii character (e.g. &auml; ) into an input field and submits the form. The value in the resulting form attribute is not a single Java doublebyte character, but 2 Java double byte characters - each derived from one of the UTF-8 bytes encoding &auml; 
> Attached screenshots show before- and after umlaut has been posted to MyFaces.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1717) UTF-8 input processed as single-byte

Posted by "johan Eltes (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525401 ] 

johan Eltes commented on MYFACES-1717:
--------------------------------------

The following forum entry provides some kind of proof that this is a Facelet bug: 
http://www.nabble.com/Its-a-bug%3A-Facelets%2BMyFaces-cannot-serve-UTF-8-and-here-is-why%21-tf2541320.html#a7080538
I'll close the issue here. /Johan

> UTF-8 input processed as single-byte
> ------------------------------------
>
>                 Key: MYFACES-1717
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1717
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions:  1.2.0
>         Environment: Windows XP, Mac OS 10.4.10
>            Reporter: johan Eltes
>            Priority: Blocker
>         Attachments: MyFaces JIRA After Submit.png, MyFaces JIRA Before Submit.png
>
>
> Text with unmlauts entered via a html input field (browser inputEncoding = UTF-8), seems to process multi-byte UTF characters as a sequence of single-byte characters. The webbrowser has inputEncoding = UTF-8. The user enters a single none-acii character (e.g. &auml; ) into an input field and submits the form. The value in the resulting form attribute is not a single Java doublebyte character, but 2 Java double byte characters - each derived from one of the UTF-8 bytes encoding &auml; 
> Attached screenshots show before- and after umlaut has been posted to MyFaces.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.