ansible/ansible — pull request #8564 by Mic92 (2014-08-12 06:39:59+00:00)
Title: Fix UnicodeDecodeError when replace interpreter in non-ascii file

I got this error, when using locale_gen module and set interpreter to "/usr/bin/python2" . I'm not quite sure whether assuming unicode is the best solution, but as far as I see at least modules from ansible itself all use utf-8.