Charset UTF-8; Nothing?

just noticed ee does not set the charset

charset UTF-8;

Most configs out there all have this set, still researching why, but wondering why ee does not set this.

 ➜  curl -I
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Sat, 14 Feb 2015 22:38:13 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
X-Powered-By: EasyEngine 3.0.2

You can view source of and you will find <meta charset="utf-8"> in HTML head.

Do you have any specific reason for adding it inside nginx config? Do all sites use UTF-8?

I am not sure what all sites use, but I know a great deal to use UTF-8, and I guess I am asking becasue in the wild many relied upon configs H5BP do set it in either the server or http block. I’ll do some more research and ping back if i find further proof.

@datagroove Thanks.

One of the thing we avoid in EE is over-optimization. We always try to stick with defaults. So unless there is some major benefit of adding utf-8 for every type of site, we better go with defaults IMHO.

Rest, if you find something in your research, we will be more than happy to change it. :slight_smile:

Hi @datagroove

As the issue has been properly reasoned. I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile: