|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (TRINIDAD-1505) Encoding on IEEncoding on IE
-------------- Key: TRINIDAD-1505 URL: https://issues.apache.org/jira/browse/TRINIDAD-1505 Project: MyFaces Trinidad Issue Type: Bug Affects Versions: 1.2.11-core Environment: Apache Tomcat 6.0.18 Sun Win32 JDK 1.6.14u Reporter: João Rui Barradas Peixoto On IE (my application uses PPR) when you try to insert some characters (using simple and multiple lines <tr:inputtext> ) different from English encoding you will get those characters incorrectly shown . I have returned to version 1.2.10 from version 1.2.11 and it have solved my problem. This problem doesn't occurs on Firefox. Any additional information help you need let me know please. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (TRINIDAD-1505) Encoding on IE[ https://issues.apache.org/jira/browse/TRINIDAD-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719740#action_12719740 ] Matthias Weßendorf commented on TRINIDAD-1505: ---------------------------------------------- can you check what commit this issue could have caused ? That would be great to nail that down! > Encoding on IE > -------------- > > Key: TRINIDAD-1505 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1505 > Project: MyFaces Trinidad > Issue Type: Bug > Affects Versions: 1.2.11-core > Environment: Apache Tomcat 6.0.18 > Sun Win32 JDK 1.6.14u > Reporter: João Rui Barradas Peixoto > > On IE (my application uses PPR) when you try to insert some characters (using simple and multiple lines <tr:inputtext> ) different from English encoding you will get those characters incorrectly shown . > I have returned to version 1.2.10 from version 1.2.11 and it have solved my problem. > This problem doesn't occurs on Firefox. > Any additional information help you need let me know please. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (TRINIDAD-1505) Encoding on IE[ https://issues.apache.org/jira/browse/TRINIDAD-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719979#action_12719979 ] João Rui Barradas Peixoto commented on TRINIDAD-1505: ----------------------------------------------------- Hello Matthias. Usually I use maven for dependency management so I always use release versions. However I will try to find the commit from each it is able to reproduce the bug. > Encoding on IE > -------------- > > Key: TRINIDAD-1505 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1505 > Project: MyFaces Trinidad > Issue Type: Bug > Affects Versions: 1.2.11-core > Environment: Apache Tomcat 6.0.18 > Sun Win32 JDK 1.6.14u > Reporter: João Rui Barradas Peixoto > > On IE (my application uses PPR) when you try to insert some characters (using simple and multiple lines <tr:inputtext> ) different from English encoding you will get those characters incorrectly shown . > I have returned to version 1.2.10 from version 1.2.11 and it have solved my problem. > This problem doesn't occurs on Firefox. > Any additional information help you need let me know please. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Issue Comment Edited: (TRINIDAD-1505) Encoding on IE[ https://issues.apache.org/jira/browse/TRINIDAD-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719979#action_12719979 ] João Rui Barradas Peixoto edited comment on TRINIDAD-1505 at 6/16/09 1:34 AM: ------------------------------------------------------------------------------ Hello Matthias. Usually I use maven for dependency management so I always use release versions. However I will try to find the commit from which it's able to reproduce the bug. was (Author: joaorpeixoto): Hello Matthias. Usually I use maven for dependency management so I always use release versions. However I will try to find the commit from each it is able to reproduce the bug. > Encoding on IE > -------------- > > Key: TRINIDAD-1505 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1505 > Project: MyFaces Trinidad > Issue Type: Bug > Affects Versions: 1.2.11-core > Environment: Apache Tomcat 6.0.18 > Sun Win32 JDK 1.6.14u > Reporter: João Rui Barradas Peixoto > > On IE (my application uses PPR) when you try to insert some characters (using simple and multiple lines <tr:inputtext> ) different from English encoding you will get those characters incorrectly shown . > I have returned to version 1.2.10 from version 1.2.11 and it have solved my problem. > This problem doesn't occurs on Firefox. > Any additional information help you need let me know please. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (TRINIDAD-1505) Encoding on IE[ https://issues.apache.org/jira/browse/TRINIDAD-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723927#action_12723927 ] Cedric Durmont commented on TRINIDAD-1505: ------------------------------------------ I confirm there are encoding regressions in trinidad 1.2.11 I am writing an app with Trinidad and use <convertNumber type="currency"/>, which generates Euro (€) signs. My test popup dialog won't validate because the Euro sign is changed into something like "â¬" (UTF-8 interpreted as ISO8859-1, I guess) All my JSPs declare encoding=utf-8, as well as all my *.xml files (web.xml, faces-config.xml...) The Tomcat connector uses URIEncoding="UTF-8" useBodyEncodingForURI="true", and Tomcat runs Java with -Dfile.encoding=UTF-8 Locale in faces-config.xml is set to FR_fr Maven resource plugin encoding set to utf-8 So everything should use and expect UTF-8 strings, but I have that bug with Trinidad 1.2.11, even on Firefox ! As reported above, reverting to 1.2.10 cures the problem. My setup : WinXP french edition (default encoding = windows1252, can't find a way to change it !) Tomcat 6.0.20 JDK 1.6.0.14 Myfaces 1.2.7 > Encoding on IE > -------------- > > Key: TRINIDAD-1505 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1505 > Project: MyFaces Trinidad > Issue Type: Bug > Affects Versions: 1.2.11-core > Environment: Apache Tomcat 6.0.18 > Sun Win32 JDK 1.6.14u > Reporter: João Rui Barradas Peixoto > > On IE (my application uses PPR) when you try to insert some characters (using simple and multiple lines <tr:inputtext> ) different from English encoding you will get those characters incorrectly shown . > I have returned to version 1.2.10 from version 1.2.11 and it have solved my problem. > This problem doesn't occurs on Firefox. > Any additional information help you need let me know please. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (TRINIDAD-1505) Encoding on IE[ https://issues.apache.org/jira/browse/TRINIDAD-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729648#action_12729648 ] Bernhard Seebass commented on TRINIDAD-1505: -------------------------------------------- The problem was introduced in SVN-Revision 713294 by changes in org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl TrinidadFilterImpl line 123 (new): String noJavaScript = request.getParameter(XhtmlConstants.NON_JS_BROWSER); The call getParameter() is executed before the correct encoding has been set to org.apache.tomcat.util.http.Parameters (in org.apache.coyote.Request). Therefore the default encoding ISO-8859-1 is applied which breaks handling of UTF-8 encoded characters in submitted forms. > Encoding on IE > -------------- > > Key: TRINIDAD-1505 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1505 > Project: MyFaces Trinidad > Issue Type: Bug > Affects Versions: 1.2.11-core > Environment: Apache Tomcat 6.0.18 > Sun Win32 JDK 1.6.14u > Reporter: João Rui Barradas Peixoto > > On IE (my application uses PPR) when you try to insert some characters (using simple and multiple lines <tr:inputtext> ) different from English encoding you will get those characters incorrectly shown . > I have returned to version 1.2.10 from version 1.2.11 and it have solved my problem. > This problem doesn't occurs on Firefox. > Any additional information help you need let me know please. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Resolved: (TRINIDAD-1505) Encoding on IE[ https://issues.apache.org/jira/browse/TRINIDAD-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Weßendorf resolved TRINIDAD-1505. ------------------------------------------ Resolution: Duplicate Assignee: Matthias Weßendorf this guy is already fixed: https://issues.apache.org/jira/browse/TRINIDAD-1430 a release will be out, soon > Encoding on IE > -------------- > > Key: TRINIDAD-1505 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1505 > Project: MyFaces Trinidad > Issue Type: Bug > Affects Versions: 1.2.11-core > Environment: Apache Tomcat 6.0.18 > Sun Win32 JDK 1.6.14u > Reporter: João Rui Barradas Peixoto > Assignee: Matthias Weßendorf > > On IE (my application uses PPR) when you try to insert some characters (using simple and multiple lines <tr:inputtext> ) different from English encoding you will get those characters incorrectly shown . > I have returned to version 1.2.10 from version 1.2.11 and it have solved my problem. > This problem doesn't occurs on Firefox. > Any additional information help you need let me know please. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (TRINIDAD-1505) Encoding on IE[ https://issues.apache.org/jira/browse/TRINIDAD-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735079#action_12735079 ] Cedric Durmont commented on TRINIDAD-1505: ------------------------------------------ Sorry to bring bad news, but I still happen to have the problem. I ran the patch proposed on issue 1430 against the 1.2.11 source tree and compiled my libs. My setup is still the same as above, the only difference is that I can't get the thing working with 1.2.10 anymore (so it's probably just me forgetting an obvious thing, but who knows) Using a http proxy I could see what's happening : value entered in the tr:inputNumber field : 250,00 € (the value is a Double(250) the formatting is correctly done by tr:formatNumber) value returned by the browser when submitting : 250%2C00+%E2%82%AC %2C is the comma, the "+" is for the space, and € in UTF-8 is 0x20AC, which becomes %E2%82%AC. Everything is as expected And in Tomcat's response : 250,00 € As you can see the %E2%82%AC (1 utf-8 char) is interpreted as 3 single-byte chars. The second one (%82) is replaced by a 2-bytes value :"‚" (notice the comma). Do anyone has any idea of what the problem could be ? (Yes I'm starting to be desperate with this issue). Is this another encoding issue in Trinidad or is it just me ? (note that I have run a text search on my entire tomcat folder with my app deployed, and I am sure there is not a single iso8859-1 reference in it) > Encoding on IE > -------------- > > Key: TRINIDAD-1505 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1505 > Project: MyFaces Trinidad > Issue Type: Bug > Affects Versions: 1.2.11-core > Environment: Apache Tomcat 6.0.18 > Sun Win32 JDK 1.6.14u > Reporter: João Rui Barradas Peixoto > Assignee: Matthias Weßendorf > > On IE (my application uses PPR) when you try to insert some characters (using simple and multiple lines <tr:inputtext> ) different from English encoding you will get those characters incorrectly shown . > I have returned to version 1.2.10 from version 1.2.11 and it have solved my problem. > This problem doesn't occurs on Firefox. > Any additional information help you need let me know please. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
Re: [jira] Commented: (TRINIDAD-1505) Encoding on IEHi Cedric,
Since reverting to 1.2.10 no longer solves your problem as it did before, I speculate your application might be still referring to the old Trinidad jars (1.2.11) which has this problem. Thanks Mamallan Cedric Durmont (JIRA) wrote: > [ https://issues.apache.org/jira/browse/TRINIDAD-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735079#action_12735079 ] > > Cedric Durmont commented on TRINIDAD-1505: > ------------------------------------------ > > Sorry to bring bad news, but I still happen to have the problem. > I ran the patch proposed on issue 1430 against the 1.2.11 source tree and compiled my libs. > My setup is still the same as above, the only difference is that I can't get the thing working with 1.2.10 anymore (so it's probably just me forgetting an obvious thing, but who knows) > Using a http proxy I could see what's happening : > value entered in the tr:inputNumber field : > 250,00 € > (the value is a Double(250) the formatting is correctly done by tr:formatNumber) > value returned by the browser when submitting : > 250%2C00+%E2%82%AC > %2C is the comma, the "+" is for the space, and € in UTF-8 is 0x20AC, which becomes %E2%82%AC. Everything is as expected > And in Tomcat's response : > 250,00 € > As you can see the %E2%82%AC (1 utf-8 char) is interpreted as 3 single-byte chars. The second one (%82) is replaced by a 2-bytes value :"‚" (notice the comma). > > Do anyone has any idea of what the problem could be ? (Yes I'm starting to be desperate with this issue). Is this another encoding issue in Trinidad or is it just me ? > (note that I have run a text search on my entire tomcat folder with my app deployed, and I am sure there is not a single iso8859-1 reference in it) > > > > >> Encoding on IE >> -------------- >> >> Key: TRINIDAD-1505 >> URL: https://issues.apache.org/jira/browse/TRINIDAD-1505 >> Project: MyFaces Trinidad >> Issue Type: Bug >> Affects Versions: 1.2.11-core >> Environment: Apache Tomcat 6.0.18 >> Sun Win32 JDK 1.6.14u >> Reporter: João Rui Barradas Peixoto >> Assignee: Matthias Weßendorf >> >> On IE (my application uses PPR) when you try to insert some characters (using simple and multiple lines <tr:inputtext> ) different from English encoding you will get those characters incorrectly shown . >> I have returned to version 1.2.10 from version 1.2.11 and it have solved my problem. >> This problem doesn't occurs on Firefox. >> Any additional information help you need let me know please. >> > > |
| Free embeddable forum powered by Nabble | Forum Help |