[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GB 中文字符集的字节顺序问题



与UTF-8格式一样,不存在字节顺序问题。只有非字节单位的数据才有顺序问题。

UTF-16 包含了 16bit 整数,UTF-32 是32bit整数,所以它们有字节顺序问题。
GB2312和GB18030都是字节序列,就不存在这个问题。

2012/1/7 Plain_Text <resation@gmail.com>:
>
>
>    GB 字符集(包括 GB2312, GBK, GB18030)是否存在字节顺序(即 Endian)
> 的问题?按理来说是存在的,不需理会这个问题是否因为该字符集的标准里已经
> 明确指定了必须用某种字节顺序?
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20120106233702.GA2676@localhost.localdomain">http://lists.debian.org/[🔎] 20120106233702.GA2676@localhost.localdomain
>

Reply to: