关于Unicode,我需要了解什么? [英] What do I need to know about Unicode?
问题描述
作为应用程序开发人员,我需要了解Unicode吗?
Being a application developer, do I need to know Unicode?
推荐答案
Unicode是一种标准,用于定义书面通信中使用的字形的数字代码.或者,就像他们自己说的那样:
Unicode is a standard that defines numeric codes for glyphs used in written communication. Or, as they say it themselves:
数字标准 所用字符的表示 在写世界上所有的 语言. Unicode提供了一个统一的 用于存储,搜索和 以任何语言交换文本.它 用于所有现代计算机,并且 处理文本的基础 互联网. Unicode已开发并 由Unicode联盟维护.
The standard for digital representation of the characters used in writing all of the world's languages. Unicode provides a uniform means for storing, searching, and interchanging text in any language. It is used by all modern computers and is the foundation for processing text on the Internet. Unicode is developed and maintained by the Unicode Consortium.
开发人员犯了许多常见的但很容易避免的编程错误,他们不愿意对Unicode及其编码进行自我教育.
There are many common, yet easily avoided, programming errors committed by developers who don't bother to educate themselves about Unicode and its encodings.
- 首先,转到来源 权威的详细信息 和实施指南.
- 正如其他人提到的,乔尔·斯波斯基(Joel Spolsky) 其中有一个很好的列表 错误.
- 我也喜欢Elliotte Rusty Harold's 十个Unicode戒律.
- 开发人员还应该提防 规范表示攻击.
- First, go to the source for authoritative, detailed information and implementation guidelines.
- As mentioned by others, Joel Spolsky has a good list of these errors.
- I also like Elliotte Rusty Harold's Ten Commandments of Unicode.
- Developers should also watch out for canonical representation attacks.
您应该意识到的一些关键概念是:
Some of the key concepts you should be aware of are:
- Glyphs—concrete graphics used to represent written characters.
- Composition—combining glyphs to create another glyph.
- Encoding—converting Unicode points to a stream of bytes.
- Collation—locale-sensitive comparison of Unicode strings.
这篇关于关于Unicode,我需要了解什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!