Github Pages server always specifies utf-8 in header regardless of meta tag #22867
-
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):
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:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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! |
Beta Was this translation helpful? Give feedback.
-
I am not found way change default encoding from utf-8 to koi-8r. |
Beta Was this translation helpful? Give feedback.
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!