end of line sequence is no configurable
--HG--
branch : trunk
diff --git a/docs/api.rst b/docs/api.rst
index d520b40..95064b5 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -44,6 +44,15 @@
print template.render(the='variables', go='here')
+Unicode
+-------
+
+Jinja2 is using unicode internally which means that you have to pass unicode
+objects to the render function or bytestrings that only consist of ASCII
+characters. Additionally newlines are normalized to one end of line
+sequence which is per default UNIX style (``\n``).
+
+
High Level API
--------------
@@ -261,6 +270,27 @@
.. autoexception:: jinja2.exceptions.TemplateSyntaxError
+ .. attribute:: message
+
+ The error message as utf-8 bytestring.
+
+ .. attribute:: lineno
+
+ The line number where the error occurred
+
+ .. attribute:: name
+
+ The load name for the template as unicode string.
+
+ .. attribute:: filename
+
+ The filename that loaded the template as bytestring in the encoding
+ of the file system (most likely utf-8 or mbcs on Windows systems).
+
+ The reason why the filename and error message are bytestrings and not
+ unicode strings is that Python 2.x is not using unicode for exceptions
+ and tracebacks as well as the compiler. This will change with Python 3.
+
.. autoexception:: jinja2.exceptions.TemplateAssertionError