Ansible python error related to unicode?

I keep getting an odd error when trying to configure my php.ini template.

It ends with:

UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xa0’ in position 68552: ordinal not in range(128)

I’ve posted the code that causes this at: https://gist.github.com/jerrac/0fb97c4477b7611d0ad6

The error does not happen if I comment out the php_overrides vars.

As far as I can tell, I’m saving the files as plain text. I use Sublime Text.

Any suggestions?

What ansible version are you using?

If the answer is 1.3 or later (the current release), please report this as an issue at http://github.com/ansible/ansible

You will need a free account.

ansible --version
ansible 1.3.0

Posted https://github.com/ansible/ansible/issues/4361

Thanks!