2-9-0: -assume_charset= does not override in-document charset=

Steffen Nurpmeso <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <20240117200329.dj6Ghqz4@steffen%sdaoden.eu>
Hello!

I stumbled over the above, ie.,

  curl -o x.html https://www.google.com

from here in Germany (in C.UTF-8 locale; but also Poland, said
a PLD-Linux developer) fetches a document that declares itself as
UTF-8, but in fact contains ISO-8859-1 (-2).
I had to copy the document and modify it, because -assume_charset
is overruled by the in-document thing.  It is documented, but
i find it strange.

Thank you for lynx!

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.