On this boring Monday night, I noticed that Stack Exchange has omitted the character encoding meta element across their network, including our very own Stack Overflow.
Why should Stack Exchange care about character encoding?
If you use anything other than the most basic characters needed for English, people may not be able to read your text unless you say what character encoding you used.
For example, you may intend the text to look like this:
but it may actually display like this:
Not only does inadequate encoding information spoil the readability of displayed text, but it may mean that your data cannot be found by a search, or reliably processed in a number of other ways.
With a global user base and questions that may include a-typical characters, this is potential for a wide-spread issue. Moreover, a generalized search investigation indicates that there are over 45,600 questions existing on Stack Overflow alone that could be affected by an omission of the character encoding.
In addition, forgoing the character encoding produces a warning on W3C's Markup Validation Service for StackOverflow.com, a sourly disappointing footnote on an otherwise valid page.
What's the solution?
This issue can be resolved through the simple inclusion of <meta charset="UTF-8">
within the first 512 bytes of the page.