Skip to content
This repository

Specifying utf-8 in the HTML head #13

wants to merge 1 commit into from

1 participant

Jeremiah Wuenschel
Jeremiah Wuenschel


Great book! I was reading through the HTML version, and noticed that github doesn't seem to send much over in the response header when serving up the HTML. This made my browser incorrectly guess that the encoding was ISO-8859-1, and broke the example discussing ellipsis characters in buffers.

I've added a Content-Type in the HTML head section that ends up giving the proper hint to the browser. Hope this works for you!

Thanks for spending time on this great, open-source book!


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Dec 04, 2010
Jeremiah Wuenschel Added a Content-Type to the HTML head a08b714
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  pages/head.html
3  pages/head.html
@@ -19,5 +19,6 @@
19 19
         color: #00aaff;
20 20
21 21
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
22 23
-  <body>
+  <body>

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.