ppt课件-globalization gotchas$ date20051206153019$, m e d(全球化陷阱date20051206153019美元,m e d).pptVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Globalization Gotchas Mark Davis Unicode Basics Unicode encodes characters, not glyphs: U+0067 → g g g g g g g g g g g g g. ... Unicode does not encode characters by language: French, German, English j have the same code point even though all have different pronunciations Chinese 大 (da) has the same code point as Japanese 大 (dai). UTF-8, UTF-16, and UTF-32 are all Unicode. The word character means different things to different people: make clear which one you mean. glyphs, code points, bytes, code units, user-perceived characters (grapheme clusters),… Unicode in APIs U+0000 to U+10FFFF: Be prepared to handle (at least not corrupt!) any incoming code points A back-level system may get unassigned code points from later versions. Watch for UCS-2 implementations. They use UTF-16 text, but dont support characters above U+FFFF; they also may accidentally cause isolated surrogates. Some APIs/protocols will count lengths in code points, and others in bytes (or other code units). Make sure you dont mix them up. Dont limit API parameters to a single character (and definitely not to a single code unit!). What users think of as a single character (e.g. x?, ch) may be a sequence in Unicode. Use the latest version of Unicode: supports new characters, corrections, more stability guarantees. Choice of Characters Character and block names may be misleading, eg, U+034F COMBINING GRAPHEME JOINER doesnt join graphemes.??/faq/ Use U+2060 (word joiner) instead of U+FEFF (zero-width nobreak space) for everything but the BOM function. Never use unassigned code points; those will be used in future versions of Unicode. Only use private use (PUA) or non-characters (and only if necessary) If you do, minimize the opportunity for collision by picking an unusual range. Character Conversion Always use shortest form UTF-8. Its the Law. And if that isn’t enough, consider security attacks. If a protocol allows a choice of charsets, always tag correctly Not all text is correctly tagged: character d
您可能关注的文档
- ppt课件-geo492dip-lecturematerialson9102001.ppt
- ppt课件-geodeticcontrolintransition-ohiostateuniversity.ppt
- ppt课件-generalchemistrychem103.ppt
- ppt课件-geoscience day starters(地球科学的一天开始).ppt
- ppt课件-geodesyand map projections- u t austin c a e e(geodesyand地图投影- u t奥斯汀c a e e).ppt
- ppt课件-german submarine warfare(德国潜艇战).ppt
- ppt课件-geologyofthehawaiianislands-soestschoolofocean.ppt
- ppt课件-gg450lecture36may1,2006-soestschoolofoceanand.ppt
- ppt课件-gettingitrightthefirsttimedocumentationofmedical.ppt
- ppt课件-gisandremotesensing-universityoftexasataustin.ppt
- ppt课件-geography12 mapsand mapping(geography12 mapsand映射).ppt
- ppt课件-global positioning system training course(全球定位系统的培训课程).ppt
- ppt课件-goes-raccesssubsystem(gas).ppt
- ppt课件-graphing behavioral datafor f b a b i p-pcmac(绘图行为datafor f b我p-pcmac).ppt
- ppt课件-globalcrossing-swinog.ppt
- ppt课件-graphs& charts- t c e t(图形图表- t c e t).ppt
- ppt课件-geologichazards&spacegeodesy(geologichazards&spacegeodesy).ppt
- ppt课件-graphshowingsailorstheheightofthetidein southampton(graphshowingsailorstheheightofthetidein南安普顿).ppt
- ppt课件-graphs bar charts.ppt- florida international university(图条形图。ppt -佛罗里达国际大学).ppt
- ppt课件-growthand developmentof children(growthand特徵的孩子).ppt
文档评论(0)