Hello, Oscar, the problem was in the code page separator.

Stripes recognize bg_BG:UTF-8, but not bg_BG.UTF-8

On Linux separator is "." dot, on java too, may be will better to change
code page separator to "." dot.

Best regards
Georgi

Oscar Westra van Holthe - Kind wrote:
> On 16-10-2008 at 09:44, Georgi Naplatanov wrote:
>> Hello, list.
>>
>> I'm working on internationalizing java application and i found that
>> stripes does not change encoding for http post even the local is setuped
>> in the web.xml.
>>
>> Here is part of my web.xml file:
>>
>> <filter>
>>         <description>
>>             Provides essential configuration and request processing services
>>             for the Stripes framework.
>>         </description>
>>         <display-name>Stripes Filter</display-name>
>>         <filter-name>StripesFilter</filter-name>
>>
>> <filter-class>net.sourceforge.stripes.controller.StripesFilter</filter-class>
>>
>>         <!-- REQUIRED init parameter for the Stripes Filter. -->
>>         <init-param>
>>             <param-name>ActionResolver.Packages</param-name>
>>             <param-value>biz.oles.invoice.web</param-value>
>>         </init-param>
>>         <init-param>
>>                      <param-name>LocalePicker.Locales</param-name>
> 
>>                      <param-value>bg_BG.UTF-8,en_US.UTF-8</param-value>
> 
> The correct value is:
>                       <param-value>bg_BG:UTF-8,en_US:UTF-8</param-value>
> 
>>              </init-param>
>> </filter>
>>
> 
> See: http://www.stripesframework.org/display/stripes/Localization
> 
> 
> Oscar
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to