change str to unicode in log