4

How do I set the default encoding in Firefox/Iceweasel to Unicode (instead of Western)?

I'm particularly interested in the default encoding for *.txt files. Firefox/Iceweasel seems to always choose Western as the encoding for such files. I know that I can change the encoding for a particular page through View > Character Encoding, but it gets tiresome after a while.

kjo
  • 1,351

2 Answers2

0

In about:config, set intl.charset.fallback.utf8_for_file to true.

However, this only works for local files (file:/// URLs).

(shamelessly copied from this answer)

mivk
  • 4,015
0

You cannot configure this. If the encoding was a function of user-side configuration, people would create content dependent on their own settings, and then the content would not show up correctly for other readers.

For file: URLs, Firefox autodetects UTF-8 these days. (The older answer was correct when it was posted, though.)

hsivonen
  • 150