es-dev-server icon indicating copy to clipboard operation
es-dev-server copied to clipboard

Corrupted html pages using non-utf8 charset

Open softdays opened this issue 3 years ago • 0 comments

Hi

I'm facing something which looks like a bug concerning the html pages encoding. I have a web page encoded using ISO-8859-15 charset. I use es-dev-server to serve this page. I'm using resolveMimeType in plugins config file to override Content-Type header charset. I can verify that es-dev-server put the right Content-Type with the charset, the browser detect the right encoding. Everything looks good. But my page always displaying corrupted accented characters...

I've tried to serve a simple ISO plain text the same way and it work perfectly.

Best regards

softdays avatar Oct 07 '22 10:10 softdays