UTF-8 的字节流是按照三个字节一组分组的,是三字节编码 [e7 94 a8] [e6 88 b7] [e5 90 8d]
GBK是双字节编码 [e7 94] [a8 e6] [88 b7] [e5 90] [8d ?]
ISO-8859-1 是单字节编码 [e7] [94] [a8] [e6] [88] [b7] [e5] [90] [8d]
所以,作为中间转存方案,ISO-8859-1 是安全的
UTF-8 的字节流是按照三个字节一组分组的,是三字节编码 [e7 94 a8] [e6 88 b7] [e5 90 8d]
GBK是双字节编码 [e7 94] [a8 e6] [88 b7] [e5 90] [8d ?]
ISO-8859-1 是单字节编码 [e7] [94] [a8] [e6] [88] [b7] [e5] [90] [8d]
所以,作为中间转存方案,ISO-8859-1 是安全的
>