资源描述:
《翻译文献Java编程技术中汉字问题的分析及解决》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、外文原文JavaprogrammingtechnologyinChinesecharactersandsolvetheproblemsofBasedontheJavaprogramminglanguage,Chinesecharacters,weoftenencountertheproblemofhandlinganddisplay.Donotknowhowtoseealotofgarbledcertainlynotourwishtoseetheeffect,howcanweletthosecharactersappear
2、correctly?»JavalanguageisthedefaultencodingUNICODE,andweChinesepeopleusuallyusethedocumentsanddatabasesarebasedontheGB2312orBIG5encodingmethods,suchashowtoproperlyselectChinesecharactercodingandthecorrectwaytodealwiththeChinesecharacterencodingit»Thisarticlewillst
3、artwithChinesecharactercodingofcommonsense,thecombinationofJavaprogrammingexamplesoftheabovetwoissuesandproposesolutionstotheirprogrammes.NowtheJavaprogramminglanguagehasbeenwidelyusedintheInternetworld,asearlyasinthedevelopmentofSun'sJavalanguage,hasbeentakeninto
4、accountthenon-Englishcharacterssupported.SunannouncedtheJavaRuntimeEnvironment(JRE)onsubitselfandtheinternationaleditioninEnglish,butonlytosupporttheinternationalversionofthenon-Englishcharacters.ButintheJavaprogramminglanguageapplications,withthesupportofChinesec
5、haractersisnotasJavaSoftstandardspecifications,asclaimedinperfect,becausetheChinesecharactersettomorethanone,anddifferentoperatingsystemsonthesupportofChinesecharactersvaryTherefore,therewillbemanyandtheChinesecharactercodingtackletheprobleminourapplicationdevelop
6、mentinthetroubledus.Therearemanyanswersontheseissues,butarerelativelytrivial,wecannotmeettheaspirationsofurgencytosolvetheproblem,theChineseontheJavasystemisnotmore,thepaperfromtheChinesecharactercodingofcommonsense,theissueofJavaChinese,wehopetoHelpsolvethisprobl
7、em.ChinesecharactercodingofcommonsenseWeknowthatEnglishisageneralcharactertothatofbytes,themostcommonlyusedmethodofcodingisASCII.However,abytecanonlydistinguish256characters,andtensofthousandsofChinesecharacters,sonowhavetodouble-bytecharacterstothat,inordertosepa
8、rateandEnglishcharacters,eachbyteofthehighestlevelforacertain,thistwo-wordDaysaidthatupto64Kgridcharacters.WeoftenencounteristheencodingGB2312,BIG5,UNIC