Re: Problems with text encoding
Re: Problems with text encoding
- Subject: Re: Problems with text encoding
- From: Fabian Peters <email@hidden>
- Date: Tue, 13 Mar 2007 16:07:49 +0100
Hi Johann,
Try adding
WOMessage.setDefaultEncoding("UTF8");
to your application constructor.
HTH
Fabian
Am 13.03.2007 um 14:47 schrieb Johann Werner:
Hi,
I am quite new to WO so perhaps this is a dumb question or I
overlooked something. I am testing a little WO application
installed on a webserver (thus no direct connect) that I built in
Xcode (have to look at Ecplise during the next weeks ;). I set the
standard encoding of files in WOBuilder to UTF8. I had to change
the preferences in Xcode to UTF8 too to get a correct display of
that files in the included editor. Next I included the line
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
into my html files of the WO components to tell the browsers the
right encoding. Unfortunately even so all special characters (e.g.
german umlaut) are shown as weird signs. I added java code in
appendToResponse() to set the appropriate headers as described in
the book PWO to no avail.
What am I doing wrong? I have some static html files that are
served directly by Apache which are displayed as they should.
jw
_______________________________________________
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