Re:Replace the Text Encoding menu with a single override item
by jopsen on Thursday February 17, 2022 @06:31PM
(#30380194)
Would it be impossible to put this in an extension?
What is the compatibility worth if people have to manually figure out how to switch it on?
Re:Replace the Text Encoding menu with a single override item
by nneonneo on Friday February 18, 2022 @01:34PM
(#30389367)
I made one after seeing this discussion: https://addons.mozilla.org/en-US/firefox/addon/override-text...
Feedback & bug reports welcome!
Re:Replace the Text Encoding menu with a single override item
by ajsnigrutin on Thursday February 17, 2022 @05:48PM
(#30379763)
yep, as someone from the balkans with old sites and iso8859-2 vs cp1250, I used this feature sometimes too... well.. I guess not anymore.
Re:Replace the Text Encoding menu with a single override item
by goalieca on Thursday February 17, 2022 @07:18PM
(#30380668)
I wonder how possible it would be to make an extension
Re:Replace the Text Encoding menu with a single override item
by nneonneo on Friday February 18, 2022 @01:35PM
(#30389382)
It turned out to be pretty easy; I hacked one up in a few hours and got it published on AMO: https://addons.mozilla.org/en-US/firefox/addon/override-text...
It's open-sourced on GitHub in case you're curious. It just overrides the Content-Type header on pages where you've turned it on, setting the `charset` parameter to whatever you select.
As a Polish person who has been seeing this sort of mis-encoded Polish text for over two decades now, my gut instinct is to immediately reach for the encoding menu. That menu is gone now.
We live in the era of almost omnipresent UTF-8, but it simply feels wrong to remove backwards compatibility with older documents on the Polish web that are mis-encoded like that - and there are still some of them out there.