Implemented according to https://en.wikipedia.org/wiki/UTF-8 Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>