Re: My embedded .woa is displaying funny characters
Re: My embedded .woa is displaying funny characters
- Subject: Re: My embedded .woa is displaying funny characters
- From: "Ricardo J. Parada" <email@hidden>
- Date: Fri, 13 Mar 2009 21:53:44 -0400
At least that's two of us. :-)
I have a theory... I'm clicking on each component (.wo) in Eclipse and
then option+enter to see the properties to see if any one of my
components have an encoding specified instead of inheriting from the
parent. Hmmm... but it's gonna take me a while...
:-)
On Mar 13, 2009, at 9:27 PM, Pascal Robert wrote:
Le 09-03-13 à 21:17, Ricardo J. Parada a écrit :
I built a Wonder application that uses three frameworks.
When I run in Eclipse the accented characters in my WO components
display correctly.
Then I built the application from the command line using ant. I
installed the three frameworks and then built my application
package with the three frameworks and Wonder frameworks embedded in
the app bundle.
So my first test was to launch the embedded application to make
sure it was working correctly and that my web server resources were
displayed correctly. However, I noticed that my accented
characters no longer display correctly.
My application constructor is as follows:
public Application() {
super();
/* Initialization */
log.info("Welcome to " + name() + " !");
setDefaultEncoding("UTF-8");
setDefaultRequestHandler
(requestHandlerForKey(directActionRequestHandlerKey()));
}
I checked eclipse preferences (General : Workspace) and it is setup
to UTF-8 encoding.
I click on every project and Components folder in my app and
frameworks and checked the properties doing option+enter in
Eclipse. They are all set up to inherit from the parent and show
UTF-8.
Only a few components have a .woo in them and the ones that do are
specifying "UTF-8"
What else should I check? Any ideas?
I have the same problem :-/ Firefox and Safari says that the content
is UTF-8, content coming from the database is displayed correctly,
BBEdit says that the .html and .wod are « UTF-8 no BOM », and
everything is fine in development.
_______________________________________________
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