stdout should be utf8