Add utf8 encoding to fix listchar problem in Windows.