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

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.


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

  • Prev by Date: RE: An interesting database question
  • Next by Date: Re: An interesting database question
  • Previous by thread: Re: Action called twice for single form submission --> SOLVED
  • Next by thread: Re: UTF-8 in generated e-mails?
  • Index(es):
    • Date
    • Thread