New topic: Encoding problem
<http://forums.realsoftware.com/viewtopic.php?t=32264> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message vfran Post subject: Encoding problemPosted: Sat Jan 30, 2010 7:24 pm Joined: Mon Dec 07, 2009 7:30 pm Posts: 21 I have an application that sends out emails. A string with Scandinavian characters always ends up looking strange in the receivers email. I have tried encodings and convert encodings to UTF-8 etc, but still the same. How do I encode the string containing Scandinavian characters, before sending the message making in appear correctly on receives end? Top serd83 Post subject: Re: Encoding problemPosted: Sat Jan 30, 2010 7:45 pm Joined: Thu Feb 22, 2007 7:08 pm Posts: 860 Have you tried Code:emailmessage.headers.appendheader "Content-Type", "text/plain; charset=UTF-8" Top vfran Post subject: Re: Encoding problemPosted: Sat Jan 30, 2010 8:54 pm Joined: Mon Dec 07, 2009 7:30 pm Posts: 21 Thanks.. Works perfectly.. Had put code in Documentation. Too many hours too little sleep. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
