• 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: UTF-8 in generated e-mails?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTF-8 in generated e-mails?


  • Subject: Re: UTF-8 in generated e-mails?
  • From: Allen Cronce <email@hidden>
  • Date: Thu, 8 Apr 2004 07:30:18 -0700

Sorry, I thought that was obvious. The question is, how can I create page based e-mails in UTF-8?

Best regards,
--
Allen Cronce

On Apr 8, 2004, at 2:01 AM, Sako! wrote:

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
_______________________________________________
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.


References: 
 >RE: Action called twice for single form submission (From: Peter Vandoros <email@hidden>)
 >UTF-8 in generated e-mails? (From: Allen Cronce <email@hidden>)
 >Re: UTF-8 in generated e-mails? (From: "Sako!" <email@hidden>)

  • Prev by Date: handleException Not Working
  • Next by Date: Re: handleException Not Working
  • Previous by thread: Re: UTF-8 in generated e-mails?
  • Next by thread: WOFrame and pageName
  • Index(es):
    • Date
    • Thread