[jira] Created: (OFBIZ-4101) i18n problem in auto-completed dropdown box: display not correct characters but html entities

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-4101) i18n problem in auto-completed dropdown box: display not correct characters but html entities

Nicolas Malin (Jira)
i18n problem in auto-completed dropdown box: display not correct characters but html entities
---------------------------------------------------------------------------------------------

                 Key: OFBIZ-4101
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4101
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
         Environment: Windows 7, Eclipse, Java 6
            Reporter: Leon
            Priority: Minor


if there're chinese characters contained in a description field of a lookup textbox with auto-complete feature enabled, then what I can get from auto-completed dropdown box is not unstandable chinese but messed html entities such as "氨" blah blah.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-4101) i18n problem in auto-completed dropdown box: display not correct characters but html entities

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leon updated OFBIZ-4101:
------------------------

    Attachment: auto-completed-mess.png

attach a screenshot. Although the screenshot was taken from product association form, this problem is exist in the places where the lookup+auto-completed text box used.

> i18n problem in auto-completed dropdown box: display not correct characters but html entities
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4101
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4101
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Windows 7, Eclipse, Java 6
>            Reporter: Leon
>            Priority: Minor
>         Attachments: auto-completed-mess.png
>
>
> if there're chinese characters contained in a description field of a lookup textbox with auto-complete feature enabled, then what I can get from auto-completed dropdown box is not unstandable chinese but messed html entities such as "氨" blah blah.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-4101) i18n problem in auto-completed dropdown box: display not correct characters but html entities

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leon updated OFBIZ-4101:
------------------------

    Attachment: selectall.js.patch

A quick patch to resolve this issue. However, the patch is a hurry work around, maybe it's only available to my case.

> i18n problem in auto-completed dropdown box: display not correct characters but html entities
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4101
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4101
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Windows 7, Eclipse, Java 6
>            Reporter: Leon
>            Priority: Minor
>         Attachments: auto-completed-mess.png, selectall.js.patch
>
>
> if there're chinese characters contained in a description field of a lookup textbox with auto-complete feature enabled, then what I can get from auto-completed dropdown box is not unstandable chinese but messed html entities such as "氨" blah blah.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-4101) i18n problem in auto-completed dropdown box: display not correct characters but html entities

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979349#action_12979349 ]

Jacques Le Roux commented on OFBIZ-4101:
----------------------------------------

Thanks Leon,

I have tried your patch and it seems to have any side effects (I have no chinese characters contained in a description field at hand).  Dukian reported the same error at OFBIZ-4039. He suggested another solution. I prefer yours because it uses the client side, less work for the server... I will ask Dukian to test before committing...

> i18n problem in auto-completed dropdown box: display not correct characters but html entities
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4101
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4101
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Windows 7, Eclipse, Java 6
>            Reporter: Leon
>            Priority: Minor
>         Attachments: auto-completed-mess.png, selectall.js.patch
>
>
> if there're chinese characters contained in a description field of a lookup textbox with auto-complete feature enabled, then what I can get from auto-completed dropdown box is not unstandable chinese but messed html entities such as "氨" blah blah.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-4101) i18n problem in auto-completed dropdown box: display not correct characters but html entities

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-4101:
-----------------------------------

    Attachment: selectall.js.patch

Leon,

I forgot to say that we always use jQuery instead of $ shortcut in OFBiz js code. Updated patch...

> i18n problem in auto-completed dropdown box: display not correct characters but html entities
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4101
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4101
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Windows 7, Eclipse, Java 6
>            Reporter: Leon
>            Priority: Minor
>         Attachments: auto-completed-mess.png, selectall.js.patch, selectall.js.patch
>
>
> if there're chinese characters contained in a description field of a lookup textbox with auto-complete feature enabled, then what I can get from auto-completed dropdown box is not unstandable chinese but messed html entities such as "氨" blah blah.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-4101) i18n problem in auto-completed dropdown box: display not correct characters but html entities

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-4101.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
         Assignee: Jacques Le Roux

Thanks Leon,

Dukian just tested your patch, so I'm now almost sure there are no issues.

Your (slightly modified) patch is in trunk at r1056977

> i18n problem in auto-completed dropdown box: display not correct characters but html entities
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4101
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4101
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Windows 7, Eclipse, Java 6
>            Reporter: Leon
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: auto-completed-mess.png, selectall.js.patch, selectall.js.patch
>
>
> if there're chinese characters contained in a description field of a lookup textbox with auto-complete feature enabled, then what I can get from auto-completed dropdown box is not unstandable chinese but messed html entities such as "氨" blah blah.

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