kavi wrote:
Quote:
|
BUT, I am unable to give the subject line as Japanese text when using javascript/html tag - mailto:... It opens new message with Boxes or question marks.
|
First, you shouldn't use the ?Subject hack, even though it is now formally
part of the mailto: protocol. Second, if you use it, the string - as
anything in a URL - should be % encoded according to the specifications.
That is, all characters beyond ASCII, and even some ASCII characters in some
contexts, should be UTF-8 encoded and then each octet represented as %xx
where xx is the two-digit hexadecimal value of the octet.
Even that way, most bets are off, since the ?Subject hack is poorly
implemented; when you throw such a thing at an email program minding its own
business, it may well fail to process the character properly.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/