You need to URI encode the message in the mailto HTML tag. In JavaScript you would use the encodeURIComponent function.

On Wednesday, March 10, 2004, at 11:07 PM, Susan Henshaw wrote:

In some Java server side code, we are formulating the contents of a web
page. In that page, the user has chosen to display the content in a non-US
language (in my case in particular, in Japanese). We formulate one of the
links as a "mailto:?body=somestring"; where in this case, somestring is a
string of japanese characters. This renders in outlook, and eudora, as
garbage characters. I know that outlook/eudora can contain those
characters, because I can copy/paste those same characters to the mail
window and they appear fine.


Does anyone have a suggestion on how to work around this?

Cheers,
Sue Henshaw

Rick Evans http://www.bhaktivani.com http://www.mergingcurrents.com


_______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to