Re: UTF-8 in generated e-mails?
Re: UTF-8 in generated e-mails?
- Subject: Re: UTF-8 in generated e-mails?
- From: "Sako!" <email@hidden>
- Date: Thu, 8 Apr 2004 11:01:46 +0200
hello Allen,
what is the Question?!!
----- Original Message -----
From: "Allen Cronce" <email@hidden>
To: <email@hidden>; <email@hidden>
Sent: Thursday, April 08, 2004 3:09 AM
Subject: UTF-8 in generated e-mails?
> 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.
_______________________________________________
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.