You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code is written such that any file ending with .html will be returned with the charset utf-8.
Obviously this will not work for SJIS files. Encodings cannot be guessed like this. That's why the <meta charset> exists, and should be used instead. Trying to coerce the encoding will cause browsers to disable their encoding detection, and cause mojibake.
The text was updated successfully, but these errors were encountered:
Given your work on 2channel, this error is particularly naïve.
alacrity/src/WebApp.hs
Line 125 in 37aebe4
The code is written such that any file ending with
.html
will be returned with the charsetutf-8
.Obviously this will not work for SJIS files. Encodings cannot be guessed like this. That's why the
<meta charset>
exists, and should be used instead. Trying to coerce the encoding will cause browsers to disable their encoding detection, and cause mojibake.The text was updated successfully, but these errors were encountered: