Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

From Firefox 13, mailto encoding format has been changed.

  • 1 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

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

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><br> '''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

所有回覆 (1)

more options

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