Re: UTF8 and ContentEncoding
Re: UTF8 and ContentEncoding
- Subject: Re: UTF8 and ContentEncoding
- From: David Griffith <email@hidden>
- Date: Wed, 11 Nov 2009 23:03:10 +0100
Right, here's the thing. On entering the dispatchRequest() method in
Application class, the contentEncoding() is ISO8859_1. I actually
want this to be UTF-8 but don't seem to be able to manage it. Within
the dispathRequest() method I can set the contentEncoding and the
defaultFormValueEncoding but it seems like it must be too late because
the values from the form don't get displayed as UTF-8 once they are
added to the display group. Everything else on the page seems to
display fine.
Anyone any thoughts on how I can resolve this?
My dispatchRequest() looks basically like this:
public WOResponse dispatchRequest(WORequest aRequest) {
aRequest.setContentEncoding("UTF-8");
aRequest.setDefaultFormValueEncoding("UTF-8");
WOResponse aResponse = super.dispatchRequest(aRequest);
aResponse.setContentEncoding("UTF-8");
return aResponse;
Regards,
David.
On Nov 11, 2009, at 2:52 PM, David Griffith wrote:
Doh. Sorry. I'm actually in the middle of changing over to Eclipse,
but as I don't have a working deployment server for 5.4.3 as yet, I
have to continue to develop with Xcode on OS X 10.4 for fixes in the
meantime.
Regards,
David.
On Nov 11, 2009, at 2:41 PM, David Avendasora wrote:
On Nov 11, 2009, at 8:38 AM, David Griffith wrote:
I'm still using Xcode on this one at the moment
That's a key bit of information that you might want to include in your
first post next time. :-)
Dave
David Avendasora
Senior Software Engineer
K12, Inc.
*****
WebObjects Documentation Wiki : http://wiki.objectstyle.org/confluence/display/WO/
*****
WebObjects API: http://developer.apple.com/legacy/mac/library/documentation/MacOSXServer/Reference/WO54_Reference/index.html
*****
_______________________________________________
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