From Firefox 13, mailto encoding format has been changed.
Dear Supporters,
I recently upgraded Firefox 3.6.24 to 12. In Firefox 12, We're using "mailto" option to send mail content through browser to Outlook. It has fully Japanese characters. Upto Firefox 12 there was no problem.
I upgraded to Firefox Version 13. Here the problem has been started. mailto function encoding format was changed. Windows XP environment.
Here the sample code.
UTF-8 Encoding:
<a href="mailto:[email protected]?subject=%E3%80%90Testing%E3%80%91%E3%81%8A%E5%95%8F%E3%81%84%E5%90%88%E3%82%8F%E3%81%9B">Firefox 13 only</a>
Shift-JIS Encoding
<a href="mailto:[email protected]?subject=%81yTesting%81z%82%a8%96%e2%82%a2%8d%87%82%ed%82%b9">Other browsers</a>
Firefox13,14 only support mailto function with UTF-8 encoding. but other browsers support Shift-jis(Japanese encoding) encoding.
Any suggestions..
Thanks,
Padmanabhan.G
All Replies (1)
You usually use encodeURIComponent() to encode data like 【Testing】お問い合わせ
Firefox 14 still shows the correct text in the pop-up at the bottom with the Japanese Shift-JIS encoding selected.
- Firefox > Web Developer > Character Encoding
- View > Character Encoding