Enable UTF-8 commands via the raw module
Enable UTF-8 commands via the raw module

Paramiko does not allow Unicode strings as parameters, so encode
the command to UTF-8.

Test case:

ansible localhost -m raw -a 'echo ą'

(also tested on local and ssh transports without problems)

thaim/ansible,thaim/ansible