[jira] [Commented] (OFBIZ-6546) Special chars not working in multi-tenant mode

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

[jira] [Commented] (OFBIZ-6546) Special chars not working in multi-tenant mode

Nicolas Malin (Jira)

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

Shi Jinghai commented on OFBIZ-6546:
------------------------------------

I played this problem a day. I found it might happen no matter multitenant is Y or N. I'm not sure what causes this issue as in OFBiz the request encoding is the same as Tomcat.

I tried useBodyEncodingForURI parameter for https-connector and it didn't work.

I used SetCharacterEncodingFilter in catalog web.xml and it removed this error:
    <filter>
        <filter-name>SetCharacterEncodingFilter</filter-name>
        <filter-class>org.apache.catalina.filters.SetCharacterEncodingFilter</filter-class>
        <init-param>
            <param-name>encoding</param-name>
            <param-value>UTF-8</param-value>
        </init-param>
    </filter>

    <filter-mapping>
        <filter-name>SetCharacterEncodingFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>



> Special chars not working in multi-tenant mode
> ----------------------------------------------
>
>                 Key: OFBIZ-6546
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6546
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>    Affects Versions: Trunk
>            Reporter: Ingo Wolfmayr
>            Assignee: Shi Jinghai
>            Priority: Critical
>
> Unicode chars like "Ä Ö Ü ä ö ü" do not work when changing multitenant=N to multitenant=Y in general properties. This effects all applications.
> I installed the current trunk, load-demo-multitenant. Everything else standard. When for example editing product data like brandname, internalName special chars do not work - for example "Bräu" becomes "Bräu"



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