utils: Fix unicode conversion errors in matrix_to_string()
str() method will fail if there are non-ascii characters in the string.
A "UnicodeEncodeError: 'ascii' codec can't encode characters..." error
will be generated in this case.
Since this method is used by the scheduler to setup emails, the
scheduler can get into a nasty failure loop here.
The fix is simply to encode the string as utf-8. This fixes the original
issue introduced with http://autotest.kernel.org/changeset/5076
Signed-off-by: Dale Curtis <dalecurtis@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5431 592f7852-d20e-0410-864c-8624ca9c26a4