Open scizo opened 7 years ago
This preserves the encoding in the Content-Type header.
With slurp, it seems that jetty is appending charset=ISO-8859-1 to the Content-Type header. If io/file is used, then it correctly recognizes the contents as utf-8.
charset=ISO-8859-1
io/file
This preserves the encoding in the Content-Type header.
With slurp, it seems that jetty is appending
charset=ISO-8859-1
to the Content-Type header. Ifio/file
is used, then it correctly recognizes the contents as utf-8.