UnicodeECN

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

USBEngineeringChangeNoticeUSBECN:UNICODEUTF-16LEforStringDescriptorsFebruary21,2005Title:UNICODEUTF-16LEforStringDescriptorsAppliesto:UniversalSerialBusSpecification,Revision2.0SummaryofECNThisECNmorecompletelyspecifiestheencodingschemeforstringdescriptors.StringdescriptorsmustuseUNICODEUTF-16LEencodings.ReasonsforECNToensureconsistentcodinganddecodingofstringdescriptors,thespechastobeclearontheexactencodingtouse.TheoriginalspecsaidtouseUNICODEencodings,buttherearemultipleencodingschemesthatmakeupUNICODE.UTF-16LEwastheintendedencodingscheme,andtheoneassumedbymostdevelopers.ImpactonExistingPeripheralsandSystemsUSBcompliancetestingchecksforproperencodingofstringdescriptorsonperipherals.TherearenoknowncasesofdevicesusinganencodingotherthanUTF-16LE.ThereisatleastoneOSthathasbeenusingUTF-8encodingandignoringnullbytes.SincemostdeviceshavebeenencodingASCIIcharactersresultingintheupperbytebeingNULL,thishasnotbeenaproblem.HardwareImplicationsNoneexpected.SoftwareImplicationsAnysoftwarenotusingUTF-16LEwillneedtochange.ComplianceTestingImplicationsNone.USBcompliancetestingalreadychecksstringdescriptorsforproperUTF-16LEencoding.USBEngineeringChangeNoticeUSBECN:UNICODEUTF-16LEforStringDescriptorsSpecificationChangesSection9.6.7String,p.273ChangeThis:…StringdescriptorsuseUNICODEencodingsasdefinedbyTheUnicodeStandard,WorldwideCharacterEncoding,Version3.0,TheUnicodeConsortium,Addison-WesleyPublishingCompany,Reading,Massachusetts(URL:).…Tothis:…StringdescriptorsuseUNICODEUTF-16LEencodingsasdefinedbyTheUnicodeStandard,WorldwideCharacterEncoding,Version4.0,TheUnicodeConsortium,Addison-WesleyPublishingCompany,Reading,Massachusetts(URL:).…Table9-16,p.274ChangeDescriptionofbStringfromthis:UNICODEencodedstringTothis:UNICODEUTF-16LEencodedstring

1 / 2
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功