• 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: email in Unicode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: email in Unicode


  • Subject: Re: email in Unicode
  • From: Dev WO <email@hidden>
  • Date: Wed, 3 Mar 2004 16:57:49 +0100

I can give you something that work, but I cannot accept credit for it, the credit goes to Cyril Godefroy:
In your xxxxxx.java file, add the following:


public void takeValuesFromRequest(WORequest aRequest, WOContext aContext)
{
aRequest.setDefaultFormValueEncoding("UTF8");
super.takeValuesFromRequest(aRequest, aContext);
}


	public void appendToResponse(WOResponse aResponse, WOContext aContext)
	{
		aResponse.setContentEncoding("UTF8");
		super.appendToResponse(aResponse, aContext);
	}

Have fun
Xavier

Le 3 mars 04, ` 16:19, WebObjects EMail a icrit :

hello,
i want to send an email as Unicode.
now i use this code to send a normal string
WOMailDelivery mailAgent = WOMailDelivery.sharedInstance();

mailAgent.composePlainTextEmail

( from, toList, null, subject, messageBody, true );

how can i make the Subject and MessageBody be sent as a Unicode Email?

thanks in advance!

Sako
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • NSLog.Log4JLogger
      • From: "WebObjects EMail" <email@hidden>
References: 
 >Re: WOCookie - replacing/removing? (From: Benjamin Miller <email@hidden>)
 >email in Unicode (From: "WebObjects EMail" <email@hidden>)

  • Prev by Date: Re: WOBuilder Boolean Question...
  • Next by Date: Re: email in Unicode
  • Previous by thread: email in Unicode
  • Next by thread: NSLog.Log4JLogger
  • Index(es):
    • Date
    • Thread