New patch: 0004-hook-output-to-utf8-tolerant

Signed-off-by: Jiang Xin <worldhello.net@gmail.com>