revMail with Umlauts in Bodytext?

Klaus Major klaus at major-k.de
Mon Aug 27 08:35:17 EDT 2007


Hi Kenji,

> Hi,
>
> This is Japanese way.
> I think you can use this on MacOSX, But I don't know on Windows.
>
>  put fld "tAddress" into tAddress
>   put fld "tCc" into tCc
>   if platForm() is "MacOS" then
>     put unidecode(the unicodeText of fld "tSubject", UTF8) into  
> tSubject
>     put unidecode(the unicodeText of fld "tBody",UTF8) into tBody

GREAT! This (UTF8) does the trick with umlauts and accents!

>   else
>     put unidecode(the unicodeText of fld "tSubject", Japanese) into  
> tSubject
>     put unidecode(the unicodeText of fld "tBody",Japanese) into tBody
>   end if

Will check on windows later...

>   revMail tAddress,tCc,tSubject,tBody
> --
> Kenji Kojima
> http://www.kenjikojima.com/

Domo arrigato, Kojima-san! :-)


Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de





More information about the use-livecode mailing list