Fixed couple of encoding errors in blog post code samples.