-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Given your work on 2channel, this error is particularly naïve.
Line 125 in 37aebe4
| HTML -> setContentType "text/html; charset=utf-8" |
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.
Metadata
Metadata
Assignees
Labels
No labels