mattrobenolt/jinja2-cli — pull request #1 by MiCHiLU (2012-12-08 03:06:11+00:00)
Title: Fix UnicodeEncodeError for unicode characters

``` shell
$ jinja2 index.tmpl data.json
Traceback (most recent call last):
File "~/.virtualenvs//bin/jinja2", line 9, in
load_entry_point('jinja2-cli==0.1.0', 'console_scripts', 'jinja2')()
File "~/.virtualenvs//lib/python2.7/site-packages/jinja2cli/cli.py", line 142, in main
cli(opts, args)
File "~/.virtualenvs//lib/python2.7/site-packages/jinja2cli/cli.py", line 116, in cli
sys.stdout.write(env.get_template(args[0]).render(data))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 536-559: ordinal not in range(128)
```