News for hackers. Stuff that matters.
Re:Replace the Text Encoding menu with a single override item by phoe-krk on Thursday February 17, 2022 @05:43PM (#30379721)
> Hamidiye turecki kr±¿ownik pancernopok³adowy z pocz±tku XX wieku, wodowany w 1903 roku, zbudowany w brytyjskiej stoczni Armstronga. Wyporno¶æ normalna okrêtu wynosi³a 3904 tony, a d³ugo¶æ siêga³a 112 metrów. Napêd stanowi³y maszyny parowe o mocy 12 000 KM, pozwalaj±ce na osi±ganie maksymalnej prêdko¶ci 22 wêz³y. Artyleria g³ówna sk³ada³a siê z dwóch pojedynczych dzia³ kalibru 152 mm i o¶miu dzia³ kalibru 120 mm. S³u¿y³ w marynarce Imperium Osmañskiego podczas wojen ba³kañskich oraz I wojny ¶wiatowej, a nastêpnie w marynarce Republiki Turcji do 1947 roku.

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.

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.

Re:Replace the Text Encoding menu with a single override item by hsivonen on Tuesday February 22, 2022 @03:46PM (#30433508)
After the submenu was replaced with a single item in August, how many times have you 1) encountered Polish mojibake and 2) the single item wasn't able to fix it?