Language code (UTF-8) when adding a new address on Ecommerce

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

Language code (UTF-8) when adding a new address on Ecommerce

Robert Gan
Hey Guys,

When I am a customer and add a new postall-address, the form does not accept utft-8. When I put in umlauts (german äöü), the result are strange signs in the database. The weired thing is, when I go over the administration on party manager and add an address there, everything is fine.

To add "accept-charset="UTF-8" does not help. Also my Meta header is set to UTF-8

Does anyone have an idea? This is the only one form where the problem exists.

Reply | Threaded
Open this post in threaded view
|

Re: Language code (UTF-8) when adding a new address on Ecommerce

Mike Z
It is probably related to this bug entered in Oct-2011.

https://issues.apache.org/jira/browse/OFBIZ-4535

On Wed, Feb 20, 2013 at 2:59 AM, Robert G. <[hidden email]> wrote:

> Hey Guys,
>
> When I am a customer and add a new postall-address, the form does not
> accept
> utft-8. When I put in umlauts (german äöü), the result are strange signs in
> the database. The weired thing is, when I go over the administration on
> party manager and add an address there, everything is fine.
>
> To add "accept-charset="UTF-8" does not help. Also my Meta header is set to
> UTF-8
>
> Does anyone have an idea? This is the only one form where the problem
> exists.
>
>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Language-code-UTF-8-when-adding-a-new-address-on-Ecommerce-tp4639488.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Language code (UTF-8) when adding a new address on Ecommerce

Mike Z
By the way, I believe stock 11.04 will probably work if these issues are
related.

On Wed, Feb 20, 2013 at 9:34 AM, Mike <[hidden email]> wrote:

> It is probably related to this bug entered in Oct-2011.
>
> https://issues.apache.org/jira/browse/OFBIZ-4535
>
>
> On Wed, Feb 20, 2013 at 2:59 AM, Robert G. <[hidden email]> wrote:
>
>> Hey Guys,
>>
>> When I am a customer and add a new postall-address, the form does not
>> accept
>> utft-8. When I put in umlauts (german äöü), the result are strange signs
>> in
>> the database. The weired thing is, when I go over the administration on
>> party manager and add an address there, everything is fine.
>>
>> To add "accept-charset="UTF-8" does not help. Also my Meta header is set
>> to
>> UTF-8
>>
>> Does anyone have an idea? This is the only one form where the problem
>> exists.
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/Language-code-UTF-8-when-adding-a-new-address-on-Ecommerce-tp4639488.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Language code (UTF-8) when adding a new address on Ecommerce

Robert Gan
thank you, just for your information, this was the error source. I did as mentioned there:

If you take these out of:

specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml
specialpurpose/ecommerce/webapp/ecomclone/WEB-INF/web.xml

+ <filter-name>CatalogUrlFilter</filter-name>
+ <display-name>CatalogUrlFilter</display-name>
+ <filter-class>org.ofbiz.product.category.CatalogUrlFilter</filter-class>
+ <init-param><param-name>defaultLocaleString</param-name><param-value>en_US</param-value></init-param>
+ <init-param><param-name>redirectUrl</param-name><param-value>/control/main</param-value></init-param>
+ </filter>
...
<filter-mapping>
+ <filter-name>CatalogUrlFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>

The search returns normal.


after that it worked and I also had no problems with url's etc.

Great!
Reply | Threaded
Open this post in threaded view
|

Re: Language code (UTF-8) when adding a new address on Ecommerce

Sebastian Wachinger