Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not specifying character encoding (charset) means that browsers and search engines will have to guess. The impact varies greatly.</p> <p>For example, if the content is exclusively Ascii characters, the odds of wrong behavior are very small. However, even then, problems may appear. Suppose that I visit a page that does not declare its encoding and I have to manually try different encodings and end up with selecting UTF-16 (improbable, but possible). When I then visit another page, with just Ascii encoding, that does not declare its encoding, it will be displayed using UTF-16, which means it looks mostly Chinese.</p> <p>A much more common issue is that if the document contains non-Ascii characters and the browser guesses wrong, you might see various things instead of some characters: small rectangles; small rectangles with hexadecimal digits inside; odd combinations of characters like í¤; the symbol ; characters from a different writing system (e.g., Greek or Cyrillic letters where you expect to see Latin letters; or something else.</p> <p>The character encoding hardly has anything to do with doctype declaration and quirks mode (compatibility), which is more related to styling, dimensions of boxes, placement of boxes, things like that.</p> <p>What you should declare is the actual encoding used on the pages. You may need to study the authoring tools and the pages themselves to decide what that might be. It’s quite possible that it is ISO-8859-1, but it is increasingly common to have UTF-8 as the default generated by authoring software. You will not see the difference on page that contain Ascii characters only.</p> <p>If you find out that the encoding is ISO-8859-1, it is still better to declare windows-1252. The reason is that people might actually produce windows-1252 encoded pages, e.g. when copying text from somewhere. The difference between the encodings is that windows-1252 has printable characters (like smart punctuation) in some code positions reserved for control characters in ISO-8859-1 – and those characters (C1 Controls) are disallowed in HTML.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload