Fixed unicode error in logging (bug 826156)