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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/david%40infinityspain.com

This email sent to [email protected]

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

This email sent to [email protected]

Reply via email to