Lurker News

Comments (717) 202 threads

Show all comments

Showing thread 107 of 202

marginalia_nu1 reply#
Yeah I think the charset detection needs work.

It understands the "Content-type: text/html;charset=utf-8" -header, and
but not

It turns out HTML has a lot of corner cases. I'm constantly marveling at how web browsers hold together as well as they do.

timvisee1 reply#
Thanks for your response! Hope you can implement this as well without too much trouble.

I wonder if you could just assume UTF-8 to be the default these days. I imagine that to fix many other cases as well.

marginalia_nu1 reply#
Haha! I did actually assume UTF-8 at first, but being a search engine has a lot of older websites, I sadly got a lot of encoding errors doing that, too.

Continue this thread — 1 reply