You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Edmund Urbani (JIRA)" <ji...@apache.org> on 2008/04/09 12:03:24 UTC

[jira] Created: (WICKET-1503) AutoCompleteTextField encoding bug

AutoCompleteTextField encoding bug
----------------------------------

                 Key: WICKET-1503
                 URL: https://issues.apache.org/jira/browse/WICKET-1503
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 1.3.3, 1.3.2
         Environment: Tomcat 6.0.16 
java version "1.6.0_01"
running on Linux
            Reporter: Edmund Urbani


Texts with non-ascii characters are not correctly en-/decoded. Eg. when I enter "ö" in the AutoCompleteTextField it gets encoded in the request as q=%C3%B6 which is the correct UTF-8 encoding. However in the getChoices(String) method I see "ö" instead of "ö" (decoded as ISO-8859-1 or similar). 

I did not alter any encoding settings in Tomcat - not yet anyway.


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


[jira] Commented: (WICKET-1503) AutoCompleteTextField encoding bug

Posted by "Yaroslav Malyshev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621996#action_12621996 ] 

Yaroslav Malyshev commented on WICKET-1503:
-------------------------------------------

This is not tomcat bug, because other components works correct with utf-8 encoded urls, but AutoCompleteTextField not works.


> AutoCompleteTextField encoding bug
> ----------------------------------
>
>                 Key: WICKET-1503
>                 URL: https://issues.apache.org/jira/browse/WICKET-1503
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.2, 1.3.3
>         Environment: Tomcat 6.0.16 
> java version "1.6.0_01"
> running on Linux
>            Reporter: Edmund Urbani
>
> Texts with non-ascii characters are not correctly en-/decoded. Eg. when I enter "ö" in the AutoCompleteTextField it gets encoded in the request as q=%C3%B6 which is the correct UTF-8 encoding. However in the getChoices(String) method I see "ö" instead of "ö" (decoded as ISO-8859-1 or similar). 
> I did not alter any encoding settings in Tomcat - not yet anyway.
> EDIT: Tested with Firefox 2.0.0.13

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


[jira] Closed: (WICKET-1503) AutoCompleteTextField encoding bug

Posted by "Edmund Urbani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edmund Urbani closed WICKET-1503.
---------------------------------

    Resolution: Invalid

This is apparently a Tomcat problem. And its solution can be found here:
http://cwiki.apache.org/WW/how-to-support-utf-8-uriencoding-with-tomcat.html


> AutoCompleteTextField encoding bug
> ----------------------------------
>
>                 Key: WICKET-1503
>                 URL: https://issues.apache.org/jira/browse/WICKET-1503
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.2, 1.3.3
>         Environment: Tomcat 6.0.16 
> java version "1.6.0_01"
> running on Linux
>            Reporter: Edmund Urbani
>
> Texts with non-ascii characters are not correctly en-/decoded. Eg. when I enter "ö" in the AutoCompleteTextField it gets encoded in the request as q=%C3%B6 which is the correct UTF-8 encoding. However in the getChoices(String) method I see "ö" instead of "ö" (decoded as ISO-8859-1 or similar). 
> I did not alter any encoding settings in Tomcat - not yet anyway.
> EDIT: Tested with Firefox 2.0.0.13

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


[jira] Updated: (WICKET-1503) AutoCompleteTextField encoding bug

Posted by "Yrjö Kari-Koskinen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yrjö Kari-Koskinen updated WICKET-1503:
---------------------------------------

    Comment: was deleted

(was: I can reproduce this problem with wicket 1.4.3. I tried the following configurations in the Tomcat connector: useBodyEncodingForURI="true" and URIEncoding="UTF-8", 

but they did not solve the problem.

The problem persist on the following browsers: Firefox 3.5.5, MSIE8, and Chrome 3.0.)

> AutoCompleteTextField encoding bug
> ----------------------------------
>
>                 Key: WICKET-1503
>                 URL: https://issues.apache.org/jira/browse/WICKET-1503
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.2, 1.3.3
>         Environment: Tomcat 6.0.16 
> java version "1.6.0_01"
> running on Linux
>            Reporter: Edmund Urbani
>
> Texts with non-ascii characters are not correctly en-/decoded. Eg. when I enter "ö" in the AutoCompleteTextField it gets encoded in the request as q=%C3%B6 which is the correct UTF-8 encoding. However in the getChoices(String) method I see "ö" instead of "ö" (decoded as ISO-8859-1 or similar). 
> I did not alter any encoding settings in Tomcat - not yet anyway.
> EDIT: Tested with Firefox 2.0.0.13

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


[jira] Updated: (WICKET-1503) AutoCompleteTextField encoding bug

Posted by "Edmund Urbani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edmund Urbani updated WICKET-1503:
----------------------------------

    Description: 
Texts with non-ascii characters are not correctly en-/decoded. Eg. when I enter "ö" in the AutoCompleteTextField it gets encoded in the request as q=%C3%B6 which is the correct UTF-8 encoding. However in the getChoices(String) method I see "ö" instead of "ö" (decoded as ISO-8859-1 or similar). 

I did not alter any encoding settings in Tomcat - not yet anyway.

EDIT: Tested with Firefox 2.0.0.13


  was:
Texts with non-ascii characters are not correctly en-/decoded. Eg. when I enter "ö" in the AutoCompleteTextField it gets encoded in the request as q=%C3%B6 which is the correct UTF-8 encoding. However in the getChoices(String) method I see "ö" instead of "ö" (decoded as ISO-8859-1 or similar). 

I did not alter any encoding settings in Tomcat - not yet anyway.



> AutoCompleteTextField encoding bug
> ----------------------------------
>
>                 Key: WICKET-1503
>                 URL: https://issues.apache.org/jira/browse/WICKET-1503
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.2, 1.3.3
>         Environment: Tomcat 6.0.16 
> java version "1.6.0_01"
> running on Linux
>            Reporter: Edmund Urbani
>
> Texts with non-ascii characters are not correctly en-/decoded. Eg. when I enter "ö" in the AutoCompleteTextField it gets encoded in the request as q=%C3%B6 which is the correct UTF-8 encoding. However in the getChoices(String) method I see "ö" instead of "ö" (decoded as ISO-8859-1 or similar). 
> I did not alter any encoding settings in Tomcat - not yet anyway.
> EDIT: Tested with Firefox 2.0.0.13

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


[jira] Commented: (WICKET-1503) AutoCompleteTextField encoding bug

Posted by "Yrjö Kari-Koskinen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782520#action_12782520 ] 

Yrjö Kari-Koskinen commented on WICKET-1503:
--------------------------------------------

I can reproduce this problem with wicket 1.4.3. I tried the following configurations in the Tomcat connector: useBodyEncodingForURI="true" and URIEncoding="UTF-8", 

but they did not solve the problem.

The problem persist on the following browsers: Firefox 3.5.5, MSIE8, and Chrome 3.0.

> AutoCompleteTextField encoding bug
> ----------------------------------
>
>                 Key: WICKET-1503
>                 URL: https://issues.apache.org/jira/browse/WICKET-1503
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.2, 1.3.3
>         Environment: Tomcat 6.0.16 
> java version "1.6.0_01"
> running on Linux
>            Reporter: Edmund Urbani
>
> Texts with non-ascii characters are not correctly en-/decoded. Eg. when I enter "ö" in the AutoCompleteTextField it gets encoded in the request as q=%C3%B6 which is the correct UTF-8 encoding. However in the getChoices(String) method I see "ö" instead of "ö" (decoded as ISO-8859-1 or similar). 
> I did not alter any encoding settings in Tomcat - not yet anyway.
> EDIT: Tested with Firefox 2.0.0.13

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


[jira] Commented: (WICKET-1503) AutoCompleteTextField encoding bug

Posted by "Alf Støyle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861785#action_12861785 ] 

Alf Støyle commented on WICKET-1503:
------------------------------------

This issue has been resolved for quite some time, however just wanted to give an update.

We had the same issue, updated the Tomcat configuration, and everything works fine now. For some they removed the actual description from the page linked in previous comment. If you have a look at the first version of the page the description is still there:

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=16248

> AutoCompleteTextField encoding bug
> ----------------------------------
>
>                 Key: WICKET-1503
>                 URL: https://issues.apache.org/jira/browse/WICKET-1503
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.2, 1.3.3
>         Environment: Tomcat 6.0.16 
> java version "1.6.0_01"
> running on Linux
>            Reporter: Edmund Urbani
>
> Texts with non-ascii characters are not correctly en-/decoded. Eg. when I enter "ö" in the AutoCompleteTextField it gets encoded in the request as q=%C3%B6 which is the correct UTF-8 encoding. However in the getChoices(String) method I see "ö" instead of "ö" (decoded as ISO-8859-1 or similar). 
> I did not alter any encoding settings in Tomcat - not yet anyway.
> EDIT: Tested with Firefox 2.0.0.13

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