Re: email in Unicode
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.