亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? hz.spec

?? 教育網的bbs代碼
?? SPEC
字號:
				    		HZ - A Data Format for Exchanging Files of	      Arbitrarily Mixed Chinese and ASCII characters 	      Fung F. Lee ~{@n7c7e~} (lee@umunhum.stanford.edu)			    Stanford Univeristy				     			     September 4, 1989				     1. IntroductionMost existing computer systems which can handle a text file of arbitrarilymixed Chinese and ASCII characters use 8-bit codes.  To exchange such textfiles through electronic mail on ASCII computer systems, it is necessary toencode them in a 7-bit format.  A generic binary to ASCII encoder is notsufficient, because there is currently no universal standard for such 8-bitcodes. For example, CCDOS and Macintosh's Chinese OS use different internalcodes.  Fortunately, there is a PRC national standard, GuoBiao (GB), forthe encoding of Chinese characters, and Chinese characters encoded in theabove systems can be easily converted to GB by a simple formula. (* The ROCstandard BIG-5 is outside the scope of this article.)HZ is a 7-bit data format proposed for arbitrarily mixed GB and ASCII textfile exchange.  HZ is also intended for the design of terminal emulatorsthat display and edit mixed Chinese and ASCII text files in real time.2. SpecificationThe format of HZ is described in the following.Without loss of generality, we assume that all Chinese characters (HanZi)have already been encoded in GB.  A GB (GB1 and GB2) code is a two bytecode, where the first byte is in the range $21-$77 (hexadecimal), and thesecond byte is in the range $21-$7E.A graphical ASCII character is a byte in the range $21-$7E. A non-graphicalASCII character is a byte in the range $0-$20 or of the value $7F.Since the range of a graphical ASCII character overlaps that of a GB byte,a byte in the range $21-$7E is interpreted according to the mode it is in.There are two modes, namely ASCII mode and GB mode.By convention, a non-graphical ASCII character should only appear in ASCIImode.The default mode is ASCII mode. In ASCII mode, a byte is interpreted as an ASCII character, unless a '~~' isencountered. The character '~~' is an escape character. By convention, itmust be immediately followed ONLY by '~~', '{' or '\n' (<LF>), with thefollowing special meaning.o The escape sequence '~~~~' is interpreted as a '~~'.o The escape-to-GB sequence '~~{' switches the mode from ASCII to GB.o The escape sequence '~~\n' is a line-continuation marker to be consumed  with no output produced.In GB mode, characters are interpreted two bytes at a time as (pure) GBcodes until the escape-from-GB code '~~}' is read. This code switches themode from GB back to ASCII.  (Note that the escape-from-GB code '~~}'($7E7D) is outside the defined GB range.)The decoding process is clear from the above description.The encoding process is straightforward. Note that an (ASCII) '~~' is alwaysencoded as '~~~~'. A sequence of GB codes is enclosed in '~~{' and '~~}'.3. Remarks & RecommendationsWe choose to encode any ASCII character except '~~' as it is, rather than asa two byte code, and we choose ASCII as the default mode for the followingreasons. The computer systems we use is ASCII based.  A HZ file containingpure ASCII characters (i.e. no Chinese characters) except '~~' is preciselya pure ASCII file. In general, the English (ASCII) portion of a HZ file isdirectly readable.The escape character '~~' is chosen not only because it is commonly used inthe ASCII world, but also because '~~' ($7E) is outside the defined range($21-$77) of the first byte of a GB code.In ASCII mode, other potential escape sequences, i.e., two byte sequencesbeginning with '~~' (other than '~~~~', '~~{', '~~\n') are currently invalid HZsequences. Hence, they can be used for future extension of HZ with totalupward compatibility.The line-continuation marker '~~\n' is useful if one wants to encode longlines in the original text into short lines in this data format withoutintroducing extra newline characters in the decoding process.There is no limit on the length of a line. In fact, the whole file could beone long line or even contain no newline characters. Any DECODER of this HZdata format should not and has no need to operate on the concept of a line.It is easy to write encoders and decoders for HZ. An encoder or decoderneeds to lookahead at most one character in the input data stream.Given the current mode, it is also possible and easy to decode a HZ datastream by scanning backward. One of the implication is that "backspaces"can be handled correctly by a terminal emulator.To facilitate the effective use of programs supporting line/page skips suchas "more" on UNIX with a terminal emulator understanding the HZ format, itis RECOMMENDED that the ENCODER (which outputs in HZ) sets a maximum linesize of less than 80 characters.  Since '\n' is an ASCII character, thesyntax of HZ then automatically implies that GB codes appearing at the endof a line must be terminated with the escape-from-GB code '~~}', and theline-continuation marker '~~\n' should be inserted appropriately. The priceto paid is that the encoded file size is slightly larger.It is important to understand the following distinction.  Note that theabove recommendation does NOT change the HZ format.  It is simply anencoding "style" which follows the syntax of HZ. Note that this "style" isnot built into HZ. It is an additional convention built "on top of" HZ.Other applications may require different "styles", but the same basic HZDECODER will always work. The essence of HZ is to provide such a flexiblebasic data format for files of arbitrarily mixed Chinese and ASCIIcharacters.4. ExamplesTo illustrate the "stylistic" issue of HZ encoding, we give the followingfour examples of encoded text, which should produce the same decodedoutput. (The recommendation in the last section refers to Example 2.)Example 1:  (Suppose there is no line size limit.)This sentence is in ASCII.The next sentence is in GB.~{<:Ky2;S{#,NpJ)l6HK!#~}Bye.Example 2:  (Suppose the maximum line size is 42.)This sentence is in ASCII.The next sentence is in GB.~{<:Ky2;S{#,~}~~{NpJ)l6HK!#~}Bye.Example 3:  (Suppose a new line is started whenever there is a mode switch.)This sentence is in ASCII.The next sentence is in GB.~~{<:Ky2;S{#,NpJ)l6HK!#~}~Bye.AcknowledgementEdmund Lai was the first one who brought my attention to this topic.Discussions with Ed, Tin-Fook Ngai, Yagui Wei and Ricky Yeung were veryhelpful in shaping the ideas in this article. Thanks to Tin-Fook for hiscareful review of the draft and numerous interesting suggestions.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
www.欧美精品一二区| 91视频在线观看免费| 亚洲美女在线一区| 国产精品理论在线观看| 国产免费久久精品| 国产女主播视频一区二区| 中文字幕乱码久久午夜不卡| 欧美精品一区二区三区在线播放| 欧美一区二区三区视频免费播放| 91麻豆精品国产自产在线观看一区 | 亚洲高清久久久| 亚洲二区在线视频| 日日夜夜精品视频天天综合网| 午夜精品久久久久久久99水蜜桃| 视频一区视频二区中文| 蜜桃视频在线观看一区| 韩日av一区二区| 粉嫩av一区二区三区| 99精品一区二区| 精品视频色一区| 久久久美女毛片| 自拍av一区二区三区| 一个色综合av| 奇米色777欧美一区二区| 国产综合色视频| jizz一区二区| 欧美军同video69gay| 精品国产乱码久久久久久蜜臀| 国产欧美一区二区三区沐欲| 综合电影一区二区三区 | 久久久久久久一区| 国产精品久久久久久户外露出| 亚洲男人的天堂av| 麻豆久久久久久| 97精品久久久午夜一区二区三区| 欧美日韩国产小视频| 久久先锋影音av鲁色资源| 亚洲三级电影网站| 麻豆91精品91久久久的内涵| hitomi一区二区三区精品| 91.xcao| 国产精品成人一区二区艾草| 日本午夜一本久久久综合| 国产91精品一区二区麻豆网站| 色欧美片视频在线观看| 2014亚洲片线观看视频免费| 伊人色综合久久天天| 国产精品自在在线| 91精品国产入口| 一区二区三区国产精品| 国产成人高清视频| 日韩一区二区三区视频在线 | 国产亚洲精品超碰| 日韩激情一二三区| 一本大道av一区二区在线播放| 26uuu亚洲| 日韩精品电影一区亚洲| 欧美性大战久久| 国产精品的网站| 国产999精品久久| 日韩欧美在线1卡| 午夜精品久久久久久久| 日本高清不卡aⅴ免费网站| 国产亚洲成av人在线观看导航| 免费在线观看视频一区| 欧美视频一二三区| 亚洲精品中文在线| av电影天堂一区二区在线 | 国产精品激情偷乱一区二区∴| 日韩av电影免费观看高清完整版 | 久久久久久久久久美女| 日本怡春院一区二区| 欧美日韩精品欧美日韩精品一综合| 中文字幕亚洲不卡| 成人免费看片app下载| 国产色一区二区| 国产福利一区在线观看| 国产无一区二区| 国产1区2区3区精品美女| 精品国产一区二区国模嫣然| 久久er精品视频| 欧美精品一区二区久久久| 九一九一国产精品| 精品久久免费看| 国产一区二区三区在线观看精品| 欧美成人精品二区三区99精品| 久久草av在线| 欧美国产成人精品| 成人精品视频一区| 亚洲欧美偷拍另类a∨色屁股| 色婷婷av一区| 免费人成网站在线观看欧美高清| 欧美一级日韩免费不卡| 国产成人一级电影| 日韩毛片一二三区| 欧美日韩在线播| 九九在线精品视频| 欧美国产一区视频在线观看| 91亚洲精品一区二区乱码| 亚洲一区二区三区四区五区中文 | 精品少妇一区二区三区免费观看| 国产一区二区三区四| 亚洲欧洲www| 欧美男女性生活在线直播观看| 久久丁香综合五月国产三级网站| 久久久久久黄色| 在线欧美日韩国产| 国内精品在线播放| 中文字幕一区av| 欧美一区二区二区| 成人福利电影精品一区二区在线观看| 一区二区三区色| 精品国产乱子伦一区| av在线综合网| 麻豆视频一区二区| 一区二区三区在线播| 精品少妇一区二区三区日产乱码| 成人av电影在线网| 麻豆中文一区二区| 夜夜揉揉日日人人青青一国产精品| 日韩一区二区三区三四区视频在线观看| 国产精品99久久久| 日韩精品一二三| **欧美大码日韩| 久久先锋影音av鲁色资源网| 欧美在线高清视频| 播五月开心婷婷综合| 美女爽到高潮91| 亚洲地区一二三色| 中文字幕亚洲一区二区va在线| 欧美不卡视频一区| 精品视频999| 色综合久久久久综合体桃花网| 国产精品影视天天线| 蜜桃久久久久久久| 香蕉久久夜色精品国产使用方法| 亚洲欧洲美洲综合色网| 久久精品日产第一区二区三区高清版 | 夜夜嗨av一区二区三区四季av| 久久亚洲春色中文字幕久久久| 欧美二区三区91| 在线亚洲人成电影网站色www| 国产成人免费av在线| 麻豆精品一区二区av白丝在线| 一区二区三区不卡视频| 18涩涩午夜精品.www| 国产精品美女一区二区三区| 国产亚洲自拍一区| 久久久久久久久蜜桃| 久久久久久久精| 国产亚洲一区字幕| 久久久电影一区二区三区| 精品久久久久久无| 欧美videos中文字幕| 日韩精品一区二区三区三区免费| 制服丝袜一区二区三区| 777xxx欧美| 欧美一区二区三区播放老司机| 欧美一区二区视频在线观看2022| 欧美久久久久久蜜桃| 91精品免费观看| 欧美成人vr18sexvr| 久久午夜老司机| 国产精品欧美一级免费| 国产精品传媒在线| 亚洲免费观看在线观看| 亚洲综合色成人| 日韩不卡一区二区三区| 免费看欧美女人艹b| 激情国产一区二区| 成人黄页毛片网站| 欧洲一区二区三区在线| 宅男在线国产精品| 久久精品视频网| 中文字幕在线观看一区| 亚洲一区免费视频| 乱一区二区av| av一区二区三区四区| 欧美日韩一级片网站| 久久综合色之久久综合| 自拍偷在线精品自拍偷无码专区| 亚洲国产婷婷综合在线精品| 久久国产精品无码网站| aa级大片欧美| 91精品国产综合久久久久久| 久久久久国色av免费看影院| 亚洲欧美日韩国产另类专区| 午夜电影网一区| 成人久久久精品乱码一区二区三区| 色嗨嗨av一区二区三区| 日韩精品专区在线影院观看| 中文字幕中文字幕中文字幕亚洲无线| 亚洲国产视频直播| 国产成人av资源| 91精品欧美久久久久久动漫 | 亚洲视频免费看| 老司机精品视频导航| 一本大道久久a久久精品综合| 91精品国产综合久久久久久久久久 | 亚洲国产精品影院|