It looks like WeBWorK may not be doing all it can to specify character encoding. According to the Character encodings section of the XHTML spec, the best approach is to send the character encoding as part of the
Content-Type HTTP header. We don't do that.
It goes on to say that if the encoding isn't specified in the
Content-Type header, it should be specified both in a
tag and in the XML declaration. We don't use an XML declaration. (I
think there's a good reason why we don't but I don't recall what it is
at the moment.)
I'll look into adding the encoding to the
Content-Type HTTP header, since that's the recommended method.
See Bug #1030.
<| Post or View Comments |>