Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Specifying utf-8 in the HTML head #13

Open
wants to merge 1 commit into from

1 participant

@jer
jer commented

Hello,

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!

-jer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 4, 2010
  1. @jer
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  pages/head.html
View
3  pages/head.html
@@ -19,5 +19,6 @@
color: #00aaff;
}
</style>
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
</head>
- <body>
+ <body>
Something went wrong with that request. Please try again.