[jira] [Commented] (OFBIZ-5929) wrong Chinese text shown after create New Contact Information

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

[jira] [Commented] (OFBIZ-5929) wrong Chinese text shown after create New Contact Information

Nicolas Malin (Jira)

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

Taher Alkhateeb commented on OFBIZ-5929:
----------------------------------------

Okay, so after a lot of testing and fooling around, I figured out the following so far in this issue:

- this is not just chinese, it's all languages utilizing unicode that are not working
- this is not just one form, but all forms in the ecommerce module are suffering from the same symptom
- I do not believe that this bug is caused by any of the following items:
-- HTML, CSS or JavaScript
-- widgets
-- called groovy scripts

There are two main things I am suspecting at the moment:
- the moment I add <event> of type service to controller.xml, I immediately witness the bug
- this makes the problem either at the controller.xml level or web.xml. I have a feeling this has to do with the servlet contexts for the service engine in web.xml

I would appreciate some help / feedback from the experts before I dig deeper into the code. I've done a lot of testing and stripped down the tests to a simple non-decorated form in ecommerce and still got the same results.

I really appreciate any help or feedback

> wrong Chinese  text shown after create New Contact Information
> --------------------------------------------------------------
>
>                 Key: OFBIZ-5929
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5929
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: Release Branch 13.07, 12.04.04
>            Reporter: ofbiz_com_cn
>            Priority: Minor
>
> steps to reproduce:
> 1. login as admin/ofbiz
> 2. click setting to create New Contact Information
> 3.  type chinese in the name or shipping address field like: 陈三
> 5. click save to update the ship address info
> 6. You will find that Chinese are replaced with wrong character
> I am not sure if the correct parameter encoded be fetched in file ContactMechServices.java. In the database(postgresql), the Chinese character is stored wrong also. All encode style is UTF-8 for both database and page



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)