Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/http/headers/accept-charset/index.md
6568 views
---
title: Accept-Charset slug: Web/HTTP/Headers/Accept-Charset
---

{{HTTPSidebar}}

Warning: Do not use this header. Browsers omit this header and servers should ignore it.

The Accept-Charset request HTTP header was a header that advertised a client's supported {{glossary("character encoding", "character encodings")}}. It is no longer widely used.

UTF-8 is well-supported and the overwhelmingly preferred choice for character encoding. To guarantee better privacy through less configuration-based entropy, all browsers omit the Accept-Charset header.

Today, Accept-Charset is most notable for being one of several forbidden header names.

Header type {{Glossary("Request header")}}
{{Glossary("Forbidden header name")}} yes

See also

  • HTTP content negotiation

  • Accept-Charset is no more

  • Header with the result of the content negotiation: {{HTTPHeader("Content-Type")}}

  • Other similar headers: {{HTTPHeader("TE")}}, {{HTTPHeader("Accept-Encoding")}}, {{HTTPHeader("Accept-Language")}}, {{HTTPHeader("Accept")}}