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

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

?? hz.spec

?? 高校中很流行的BBS系統源碼 FireBird BBS 3.0 簡體中文注釋
?? 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一区二区三区免费野_久草精品视频
久久久天堂av| 日本午夜一区二区| 一区二区国产视频| 麻豆精品在线视频| 91蝌蚪porny成人天涯| 欧美一区二区三区成人| 成人欧美一区二区三区视频网页 | av在线一区二区| 欧美一级日韩免费不卡| 亚洲三级久久久| 精品亚洲aⅴ乱码一区二区三区| av综合在线播放| 精品奇米国产一区二区三区| 亚洲综合视频在线| 成人av集中营| 欧美精品一区二区三区很污很色的 | 久久久精品tv| 日韩成人伦理电影在线观看| 色婷婷av一区二区三区软件 | 国产一区二区三区日韩| 欧美群妇大交群中文字幕| 中文字幕第一区第二区| 久色婷婷小香蕉久久| 色美美综合视频| 亚洲欧洲精品天堂一级| 国产精品一区一区三区| 日韩欧美国产午夜精品| 天天综合天天做天天综合| 91啪亚洲精品| 国产精品电影一区二区| 国产成人亚洲综合a∨婷婷图片| 日韩小视频在线观看专区| 亚洲图片一区二区| 欧美性猛交xxxx黑人交| 一区二区在线看| 色综合天天综合在线视频| 国产精品素人视频| 成人精品国产福利| 国产精品丝袜91| 国产福利一区二区| 国产色婷婷亚洲99精品小说| 国产精品69久久久久水密桃| 久久亚洲一区二区三区明星换脸| 久久国产免费看| 久久综合精品国产一区二区三区 | 一本一道综合狠狠老| 亚洲欧美综合色| 91浏览器入口在线观看| 亚洲综合色区另类av| 欧美色中文字幕| 日日欢夜夜爽一区| 欧美成人免费网站| 国产精品一区二区在线播放| 国产精品短视频| 91国产丝袜在线播放| 首页国产欧美久久| 精品国产精品一区二区夜夜嗨| 国产乱人伦偷精品视频不卡 | 夜夜亚洲天天久久| 欧美日韩中文字幕一区二区| 日韩国产精品大片| www国产成人| 99视频精品全部免费在线| 亚洲宅男天堂在线观看无病毒| 欧美日韩在线免费视频| 韩国女主播成人在线观看| 亚洲国产精品成人综合| 91福利精品第一导航| 蜜桃av噜噜一区| 中文字幕亚洲一区二区av在线| 91精品91久久久中77777| 美女视频网站黄色亚洲| 国产精品三级在线观看| 欧美人成免费网站| 从欧美一区二区三区| 亚洲午夜精品在线| 久久婷婷国产综合国色天香| 色综合久久综合| 久久精品国产免费看久久精品| 国产精品久久久久影院老司| 欧美高清dvd| www.爱久久.com| 日韩国产欧美三级| 国产精品久久久一区麻豆最新章节| 日本高清不卡视频| 国产麻豆精品视频| 亚洲一区二区在线免费看| 欧美精品一区二区在线观看| 欧美性色黄大片| 成人中文字幕在线| 免费成人在线视频观看| 亚洲激情第一区| 国产精品人成在线观看免费| 91精品国产黑色紧身裤美女| 97久久精品人人爽人人爽蜜臀| 美女视频免费一区| 亚洲成a人片在线不卡一二三区| 国产亚洲人成网站| 日韩三级视频在线看| 欧美揉bbbbb揉bbbbb| voyeur盗摄精品| 国产成人精品免费一区二区| 蜜桃精品视频在线| 日韩精品成人一区二区三区| 一区二区三区丝袜| 日韩一区欧美一区| 国产精品第一页第二页第三页| 2022国产精品视频| 日韩欧美一级特黄在线播放| 欧美日韩三级在线| 欧美三级电影一区| 欧洲人成人精品| 色8久久人人97超碰香蕉987| 成人国产精品免费网站| 国产成人免费网站| 国产麻豆一精品一av一免费| 久久国产人妖系列| 久久国产精品99久久人人澡| 奇米色一区二区三区四区| 天堂午夜影视日韩欧美一区二区| 亚洲精品日韩一| 一区二区三区精品| 亚洲综合激情另类小说区| 亚洲一区二区三区四区五区黄| 亚洲天堂2014| 亚洲免费高清视频在线| 亚洲男人天堂一区| 亚洲一二三四区不卡| 一区二区免费在线播放| 亚洲国产欧美另类丝袜| 五月激情综合婷婷| 美日韩一区二区| 国产麻豆精品一区二区| 风间由美一区二区三区在线观看| 成人教育av在线| 色综合一个色综合亚洲| 欧美日韩免费一区二区三区视频 | 最新欧美精品一区二区三区| 一区二区在线免费| 午夜视频在线观看一区二区三区| 成人不卡免费av| 国产大陆精品国产| 国产一区二区三区香蕉| 成人在线视频首页| 91搞黄在线观看| 69堂亚洲精品首页| 久久综合久久综合久久| 国产精品二三区| 天天射综合影视| 国产激情偷乱视频一区二区三区| www.在线成人| 91精品国产综合久久精品图片| 久久伊人中文字幕| 亚洲另类春色校园小说| 美女视频黄a大片欧美| 成人av在线播放网址| 欧美精品日韩精品| 国产情人综合久久777777| 亚洲综合色自拍一区| 精品亚洲免费视频| 91久久国产最好的精华液| 精品日韩在线一区| 一二三区精品福利视频| 国模无码大尺度一区二区三区| 91免费看视频| 精品国产欧美一区二区| 亚洲一区二区在线视频| 国产真实乱对白精彩久久| 91久久国产综合久久| 国产女同性恋一区二区| 日日夜夜免费精品视频| 99精品视频一区| 亚洲精品一区在线观看| 亚洲一区二区欧美日韩| 国产成人精品免费一区二区| 欧美一级夜夜爽| 亚洲精品国产品国语在线app| 激情综合色丁香一区二区| 欧日韩精品视频| 欧美精彩视频一区二区三区| 日韩精品久久理论片| 91久久精品一区二区三| 国产女同性恋一区二区| 美女一区二区三区在线观看| 在线精品观看国产| 国产精品毛片高清在线完整版| 日韩激情视频在线观看| 在线欧美一区二区| 1000精品久久久久久久久| 国产高清不卡二三区| 精品久久人人做人人爽| 婷婷综合五月天| 欧美日韩一区二区电影| 一区二区三区四区不卡视频 | 国产精品一卡二卡| 日韩视频免费观看高清在线视频| 亚洲一本大道在线| 在线中文字幕不卡| 一个色在线综合| 欧美日精品一区视频|