Github Pages server always specifies utf-8 in header regardless of meta tag

Hi,

I’ve written a small Web page: http://flaz14.github.io/downgrade/index.html

That page is for Downgrade topics. So I would like to use cp866 as page encoding (because it has been used in DOS as encoding for Russian language in good old times). I’ve specified the encoding inside meta tag like this (BTW I’m using HTML 4.01 Strict):

\<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"\>\<html\>\<head\>\<meta http-equiv="Content-Type" content="text/html; charset=cp866"\>...\</head\>  
...

When I load the page in a Web-browser (I’ve tried Firefox and Lynx) from Github Pages server I cannot read Russian  letters: they are bloated (so, for example, in Firefox I need to go to menus and choose Cyrillic (DOS) by hand). But when I load the page from my local disk everything looks fine.

I’ve investigated this and found out that Github Pages server supplies text/html; charset=utf-8 in Content-Type header regardless of the charset specified in meta tag.

Can I use cp866 as page encoding at Github Pages?        

PS I also tried another synonym but without luck:

<meta http-equiv="Content-Type" content="text/html; charset=DOS-866">
1 Like

Hi @flaz14,

Thanks for being part of the GitHub Community Forum.

To answer your question, we only support utf-8 at this time. We’re always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I’ll share your request for cp866 encoding support with the appropriate team, though I can’t guarantee anything.

Cheers!

I am not found way change default encoding from utf-8 to koi-8r.