Good morning Christoph,
I use
er.extensions.ERXApplication.DefaultEncoding=UTF-8
er.extensions.ERXApplication.DefaultMessageEncoding=UTF-8
in the Properties file and all is fine now.

For file upload I use the AjaxFileUpload. That looks nicer.

Grüße nach Bonn
Jens



Am 14.05.2014 um 01:16 schrieb CHRISTOPH WICK | i4innovation GmbH, Bonn 
<[email protected]>:

> Hi Jens,
> 
> does your wo-form set 'enctype="multipart/form-data"' ? (AFAIK it is 
> necessary, if you are using WOFileUpload)
> 
> If so, try to use the following in your Application's constructor:
> 
> public class Application extends ERXApplication {
> ...
>       public Application() {
>               ...
>               WOMessage.setDefaultEncoding("UTF-8");
>               WOMessage.setDefaultURLEncoding("UTF-8");
>               ERXMessageEncoding.setDefaultEncoding("UTF8");
>               ERXMessageEncoding.setDefaultEncodingForAllLanguages("UTF8");
>               ...
>       }
> ...
> }
> 
> I also had the problem with umlauts and this helped me.
> 
> C.U.CW
> -- 
> What are the three enemies of a programmer? Sunlight, oxygen, and the 
> appalling roar of the birds.
> 
> On 13.05.2014, at 17:49, Dipl.-Ing. Jens Lünstedt 
> <[email protected]> wrote:
> 
>> Hello,
>> I have a strange problem. Today I noticed in one of my apps that all german 
>> characters like öäü are changed. So when I get the event that the text of 
>> that field is changed the text is already changed to something not readable. 
>> The last time some days ago I tested that in the app all was ok. I checked 
>> the properties of the project in Eclipse and all encoding is on UTF-8. I 
>> didn't changed the properties file of the project. I run another application 
>> and all is fine. I moved the project to another machine and it was the same. 
>> I used another fresh database but it doesn't help. I tested another browser, 
>> I cleaned the project and I rebooted the machine. Nothing helped.
>> 
>> So I'm sure it has something to do with my project but where? In the project 
>> preferences I use UTF-8 encoding. I think it must be on the way from the 
>> browser to the event in my app, perhaps in the WO framework.
>> 
>> Has anyone an idea?
>> 
>> Thanks
>> 
>> Jens
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de
>> 
>> This email sent to [email protected]
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to