• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Encoding problems with WO4.x
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encoding problems with WO4.x


  • Subject: Re: Encoding problems with WO4.x
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 16 Jun 2005 08:12:28 -0700

You can record this here:

http://www.wodev.com

Every bit helps!

Chuck


On Jun 16, 2005, at 4:20 AM, Daniel Bleisteiner wrote:

On Thu, 16 Jun 2005 11:39:54 +0200, Daniel Bleisteiner <email@hidden> wrote:
-(void) appendToResponse: (WOResponse *) r inContext: (WOContext *) c
{
[r setHeader:@"text/html; charsetUTF-8; encoding=UTF8" forKey:@"Content-type"];
[r setContentEncoding:NSUTF8StringEncoding];
[super appendToResponse:r inContext:c];
}

It needs an additional...

-(void) takeValuesForRequest: (WORequest *) r inContext: (WOContext *) c
{
[r setFormValueEncodingDetectionEnabled:NO];
[r setDefaultFormValueEncoding:NSUTF8StringEncoding];
[super takeValuesForRequest:r inContext:c];
}


Now also the other direction works from browser to server... voila. Hard work... somebody should write this down!

-- Daniel Bleisteiner - Chief Developer - email@hidden
cidentigo GmbH, Reuchlinstrasse 10-11, 10553 Berlin, Germany
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net


This email sent to email@hidden

--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects




_______________________________________________
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


References: 
 >Encoding problems with WO4.x (From: "Daniel Bleisteiner" <email@hidden>)
 >Re: Encoding problems with WO4.x (From: "Daniel Bleisteiner" <email@hidden>)

  • Prev by Date: Re: WO 5.3 and deploy on tomcat
  • Next by Date: Re: package com.webobjects.foundation.* doesn't exist
  • Previous by thread: Re: Encoding problems with WO4.x
  • Next by thread: WO, MySQL and UTF-8 issue
  • Index(es):
    • Date
    • Thread