搜尋 Mozilla 技術支援網站

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

了解更多

Using quotation characters like '`" results in duplicate characters in some online text editors.

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

more options

On some online coding websites, for example https://playcode.io/ when I type ' followed by a vowel I get the character double up, or following the quotation I press space results in double quotation marks. I have listed some key presses below. Key press: result: expected result

<'><space> :  : '_ <'><a>  : áá : á <'><f>  : ff : 'f <`><$>  : ``$$:`$ <`><space>: `` : `_

Can I turn this off or what specifically is causing the issue? On this text field the problem does not occur, nor in Chrome or Safari.

On some online coding websites, for example https://playcode.io/ when I type ' followed by a vowel I get the character double up, or following the quotation I press space results in double quotation marks. I have listed some key presses below. Key press: result: expected result <'><space> : '' : '_ <'><a> : áá : á <'><f> : ''ff : 'f <`><$> : ``$$:`$ <`><space>: `` : `_ Can I turn this off or what specifically is causing the issue? On this text field the problem does not occur, nor in Chrome or Safari.

所有回覆 (4)

more options

me115 said

Key press:     result:   expected result
<'><space> : '' : '_ 
<'><a>         : áá : á 
<'><f>          : ''ff : 'f
<`><$>       : ``$$:`$
<`><space>: `` : `_

I don't think I can test this properly with a U.S. English keyboard. Hopefully someone else can take a look.

more options

Thanks jscher2000 for the clue.

Switching my keyboard preferences from "U.S. International - PC" to "U.S." solves the issue. How would I proceed making a bug report as the issue is only in Firefox on some websites?

BTW: The issue is only on macOS, when use the international keyboard on a PC text entry works as expected.

由 user297409699465247449685822672927256813163 於 修改

more options

You can file a bug report here:

https://bugzilla.mozilla.org/

more options

The US International keyboard layout on Windows uses dead keys to create accented characters, I assume this is also the case on Mac and the behavior you describe points to dead key related issues.