Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save eMahtab/5864a0d9928728d263eb51b96b2a6572 to your computer and use it in GitHub Desktop.
Save eMahtab/5864a0d9928728d263eb51b96b2a6572 to your computer and use it in GitHub Desktop.
Always define the character encoding scheme for your page
<!DOCTYPE html>
<html>
<meta charset="ISO-8859-1">
<!-- It should have been
<meta charset="UTF-8"> -->
<!-- there is no code to represent ← in ISO-8859-1 character set
for showing the ← character correctly we have to use UTF-8
UTF-8 represents ← with code -->
<body>
<span> ← </span>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment