为什么有人使用UTF-8以外的编码? [英] Why does anyone use an encoding other than UTF-8?
问题描述
我想知道为什么任何开发人员需要使用UTF-8以外的编码。
I want to know why any developer would need to use an encoding other than UTF-8.
推荐答案
维基百科列表优势与各种其他编码相比,UTF-8的缺点:
Wikipedia lists advantages and disadvantages of UTF-8 as compared to a variety of other encodings:
http://en.wikipedia.org/wiki/UTF-8#Advantage_and_disadvantage
最重要的缺点是IMHO,UTF-8可能会使用显着更多的空间,特别是在亚洲语言,如中文,日语或印地语,而且不是全部代码点具有相同的大小,这使得测量更困难,并且许多字符串操作,例如搜索效率低下。
The most important disadvantages are IMHO that UTF-8 might use significantly more space especially in Asian languages such as Chinese, Japanese or Hindi and that not all code points have the same size which makes measurements more difficult and many string operations such as search inefficient.
这篇关于为什么有人使用UTF-8以外的编码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!