Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Firefox replaces '=' character with '-'

  • 4 risposte
  • 1 ha questo problema
  • 2 visualizzazioni
  • Ultima risposta di cor-el

more options

I have been attempting to complete some C# Unity tutorials, and ran in to a really weird problem.

It appears that FireFox has replaced all instances of the character '=' with the character '-'. This took me a great deal of time to diagnose. I first thought the '-' was intentional, and spent a great deal of time trying to determine how an '-' operator would work in the apparent use. I then assumed it was an author error, but upon copying the excerpt into my email application to submit a report to the original author, I observed that all '-' instances that should have been '=' had in fact returned to the '=' character.

How would I go about fixing something like this? More importantly, how could it happen? It makes following code tutorials particularly difficult, unless I move to another browser.


For easier readability, I have attached both variations as images. The first image is a screenshot of the script, as it appears in FireFox. The second image displays the code, as it appears if I copy and paste it into this very form I am using to submit my question/ bug report.

Immagini allegate

Modificato da Gnemlock il

All Replies (4)

more options

Attempting to upload image, again, for ease.

more options

Is this only happening with the display in the Inspector?

Is there still the correct character if you select the text and paste it to the clipboard?

I would suspect that this is an issue with the font that is used, so maybe try to use the DOM Inspector to see if that can reveal what font is used.

more options

Not the font. Font is listed as Arial and Courier. This is also something that appears too dynamic to be fonts:

For example, this is the page I was viewing, when the bug occurred. I had made my way half way down the page before the "character swap" took place. After I finally diagnosed the problem, I looked back and confirmed that previous areas had undergone the correct change, too. They were definitely not the same, before, especially given that much of the page is programming example. In such cases, - is far more noticeable different than =, due to the context and implications.

On today's view, the page displays as normal. So I can not confirm how this bug pops up. The second image is a direct print screen of how it displays from the clip board, so yes. The clip board does recognise the correct character.

Modificato da Gnemlock il

more options

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • Do NOT click the "Refresh Firefox" button on the Safe Mode start window