[svn] added many new tests to jinja

--HG--
branch : trunk
diff --git a/docs/generate.py b/docs/generate.py
index 8acf5b7..f8e8238 100755
--- a/docs/generate.py
+++ b/docs/generate.py
@@ -260,7 +260,7 @@
 def handle_file(filename, fp, dst, preproc):
     now = datetime.now()
     title = os.path.basename(filename)[:-4]
-    content = fp.read()
+    content = fp.read().decode('utf-8')
     suffix = not preproc and '.html' or ''
     parts = generate_documentation(content, (lambda x: './%s%s' % (x, suffix)))
     result = file(os.path.join(dst, title + '.html'), 'w')