So, if you accept UTF-8 text, you need to make sure that every character USES the shortest possible UTF-8 encoding (and reject any text not in its shortest form).
所以,如果您要接收utf - 8文本,您要确认每一个字符都使用最短可能UTF - 8编码(拒绝任何不是最短形式的文本)。
UCS-2 is implemented with Unicode Transformation format, 8 bit encoding form (UTF-8).
UCS - 2是用Unicode Transformation format 8位编码格式(utf - 8)实现的。
UTF-8 is typically the preferred encoding form for the Internet.
是因特网上典型的理想编码形式。
应用推荐