fix an encoding error

Signed-off-by: Xiaofeng Qu <quxiaofeng.at.polyu@gmail.com>