Re: French characters butchered in deployed app, works fine in Eclipse
Re: French characters butchered in deployed app, works fine in Eclipse
- Subject: Re: French characters butchered in deployed app, works fine in Eclipse
- From: Mertz Stéphan <email@hidden>
- Date: Fri, 4 Sep 2009 08:32:00 +0200
Hi,
Could you make a try with this in your app init ?
WOMessage.setDefaultEncoding("UTF-8");
WOMessage.setDefaultURLEncoding("UTF-8");
Stéphan
Le 3 sept. 2009 à 22:23, Jim Roepcke a écrit :
Hi all,
The Wonder app I'm working on is localized into English and French.
Everything works perfectly when the app is run from Eclipse.
However, if we build the app (on Mac OS X 10.5.8 or Mac OS X 10.6) and
run the build woa via the command line or Monitor (on Mac OS X Server
10.5.8 or Mac OS X 10.6), all French accented characters are garbled!
For example, instead of:
Sélectionnez une langue
we see:
Sélectionnez une langue
Our apps Properties files contain the following related to encodings
and localization:
er.extensions.ERXLocalizer.defaultLanguage=English
er.extensions.ERXLocalizer.availableLanguages=(English,French)
er.extensions.ERXApplication.DefaultEncoding=UTF-8
er.extensions.ERXApplication.DefaultMessageEncoding=UTF-8
Our apps link with ERJars, ERExtensions and JavaWOExtensions from
Wonder.
It doesn't matter if French.lproj/Localizable.strings is in UTF-8 or
UTF-16 encoding, we have the same problem. It doesn't matter if the
request is through Apache or Direct Connect.
Other info...
WebObjects 5.4.3
Wonder -r 9705
WOLips 3.4.5924
Eclipse 3.4.1 (yes, we should upgrade to 3.4.2, I know)
Has anyone seen this behaviour before or have any idea what might be
causing this problem?
Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden