tests depend on the default encoding being utf8

So we set the utils default encoding to be utf8

fixes bug #5224

Signed off by: Matthew Thode <prometheanfire@gentoo.org>