UTF-8 in generated e-mails?
UTF-8 in generated e-mails?
- Subject: UTF-8 in generated e-mails?
- From: Allen Cronce <email@hidden>
- Date: Wed, 7 Apr 2004 18:09:14 -0700
Hi all,
Our application supports UTF-8 in our pages via the usual overrides of
appendToResponse and takeValuesFromRequest to specify UTF-8 encoding.
However, e-mails created by composeComponentEmail are not coming
through as UTF-8 encoded.
Here's a simplified code snippet of the e-mail generation code:
context = application().createContextForRequest(
application().createRequest(
"GET",
"www.blahblah.com",
"HTTP/1.0",
null,
null,
null));
// UTF-8 encoding support
context.request().setContentEncoding("UTF8");
context.request().setDefaultEncoding("UTF8");
// create the page
WOComponent page = pageWithName(pageName, context);
String strEMail =
WOMailDelivery.sharedInstance().composeComponentEmail( sender,
destinations,
null, subject,
page, false );
Any suggestions would be welcome.
Best regards,
--
Allen Cronce
--
Allen Cronce
President
PACE Anti-Piracy
<mailto:email@hidden>
<http://www.paceap.com>
Vox: 408.979.9774, ext. 641
Fax: 408.979.9775
_______________________________________________
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.