.本文
敬啟者:
首先感謝您採用行政院研考會提供的兩岸中文內碼轉碼表及常用資訊名詞對照表,底下
特別介紹如何使用這些轉碼表。
.本文2
專案承辦單位:中華民國電腦技能基金會
====================================
.本文1
檔案一
-------------------------------------------------------------------------
以 GB 12345-1990 碼序為基礎的 GB 12345 對 CNS 11643 轉碼對照表
檔案名稱:GBTOCNS.REL
資料筆數:94*94=8836
資料排序:以 GB 12345-1990 碼序為準,從 HEX(A1A1) 開始,至 HEX(FEFE)止,
共 8836 筆
碼的表示:CNS 建議內碼(2 BYTE 表示法,第一字面從 HEX(A1A1) 至 HEX(FEFE),
第二字面從 HEX(A121) 至 HEX(FE7E)。
資料結構:每筆 13 BYTES,即個數 + CNS 碼(六組)
│1 Bytes│2 Bytes│2 Bytes│2 Bytes│2 Bytes│2 Bytes│2 Bytes│
↑ ↑ ↑ ↑ ↑ ↑ ↑
對 第 第 第 第 第 第
應 一 二 三 四 五 六
的 個 個 個 個 個 個
數 對 對 對 對 對 對
目 應 應 應 應 應 應
│ 碼 碼 碼 碼 碼 碼
│
└CHR$(0):表沒有對應 CHR$(1):表對應碼有一個
CHR$(2):表對應碼有兩個,依此類推。
附 註:CNS 11643 對應不到的,以 2 個 SPACE CODE(HEX(20)) 代替。
個數表示為 HEX(00) 至 HEX(06)
範 例:查詢〞大”這個簡體字所對應的CNS 碼
DECLARE SUB GetGbRec (gbchr$)
COMMON SHARED gbrec%
OPEN "gbtocns.rel" FOR RANDOM AS #1 LEN = 13
FIELD #1, 13 AS gc$
Gb$="大"
CALL GetGbRec(Gb$) '讀取”大”這個簡體字的碼序
GET #1, gbrec% '依碼序讀取檔案內的記錄
MapNum$=LEFT$(gc$,1) 'Check對應的CNS碼有幾個
Cns1$ = MID$(gc$, 2, 2) '第一個對應的Cns 碼
Cns2$ = MID$(gc$, 4, 2) '第二個對應的Cns 碼
﹕
﹕
Cns6$ = MID$(gc$, 12, 2) '第六個對應的Cns 碼
CLOSE #1
END
SUB GetGbRec (gbchr$) STATIC
first% = ASC(LEFT$(gbchr$, 1)) - 161 'Get First Byte of GB
second% = ASC(RIGHT$(gbchr$, 1)) - 161 'Get Second Byte of GB
gbrec% = first% * 94 + second% + 1
END SUB
檔案二
-------------------------------------------------------------------------
以 CNS 11643 碼序為基礎的 CNS 11643 對 GB 12345 轉碼對照表
檔案名稱:CNSTOGB.REL
資料筆數:94*94*2=17672
資料排序:CNS 11643 碼序為準,第一、二字面各 8836 筆
碼的表示:GB 12345 內碼以 2 BYTE 表示,從HEX(A1A1) 至 HEX(FEFE)。
資料結構:每筆 2 BYTES,內存 GB 2312 內碼。
│2 Bytes│
↑
對
應
的
G
B
碼
附 註:GB 12345 對應不到的,以 2 個 NULL CODE(HEX(00)) 代替
範 例:查詢〞大”這個繁體字所對應的GB碼
DECLARE SUB GetCnsRec (Cnschr$)
COMMON SHARED cnsrec%
OPEN "cnstogb.rel" FOR RANDOM AS #1 LEN = 2
FIELD #1, 2 AS cg$
Cns$="大"
CALL GetCnsRec(Cns$) '讀取”大”這個繁體字的碼序
GET #1, cnsrec% '依碼序讀取檔案內的記錄
Gb$ = cg$ '檔案內的資料即為對應的GB碼
CLOSE #1
END
SUB GetCnsRec (cnschr$) STATIC
first% = ASC(LEFT$(cnschr$, 1)) - 161
IF ASC(RIGHT$(cnschr$, 1)) >= 161 THEN
second% = ASC(RIGHT$(cnschr$, 1)) - 161 'Get First Byte of CNS
cnsrec% = first% * 94 + second% + 1 'First Page of CNS
ELSE
second% = ASC(RIGHT$(cnschr$, 1)) - 33 'Get Second Byte of CNS
cnsrec% = first% * 94 + second% + 1 + 8836 'Second Page of CNS
END IF
END SUB
檔案三
-------------------------------------------------------------------------
以 GB 12345 碼序為基礎的 GB 對 ISO 10646 UCS-2 轉碼對照表
檔案名稱:GB01UCS.REL
資料筆數:94*94=8836
資料排序:以 GB 12345-1990 碼序為準,從 HEX(A1A1) 開始,至 HEX(FEFE)
止,共 8836 筆
碼的表示:UCS-2(4E00--9FAA,以 2 BYTES HEX(4E),HEX(00) 方式表示)
資料結構:每筆 2 BYTES
│2 Bytes│
↑
對
應
的
UCS-2碼
附 註:UCS-2 對應不到的,以 2 個 NULL CODE(HEX(00)) 代替
範 例:查詢〞大”這個簡體字所對應的UCS-2碼
DECLARE SUB GetGbRec (gbchr$)
COMMON SHARED gbrec%
OPEN "gb01ucs.rel" FOR RANDOM AS #1 LEN = 2
FIELD #1, 2 AS gu$
Gb$="大"
CALL GetGbRec(Gb$) '讀取”大”這個簡體字的碼序
GET #1, gbrec% '依碼序讀取檔案內的記錄
GbUcs$ = gu$ '對應的UCS-2碼
CLOSE #1
END
SUB GetGbRec (gbchr$) STATIC
first% = ASC(LEFT$(gbchr$, 1)) - 161 'Get First Byte of GB
second% = ASC(RIGHT$(gbchr$, 1)) - 161 'Get Second Byte of GB
gbrec% = first% * 94 + second% + 1
END SUB
檔案四
-------------------------------------------------------------------------
以 CNS 11643 碼序為基礎的 CNS 11643 對 ISO 10646 UCS-2 轉碼對照表
檔案名稱:CNSTOUCS.REL
資料筆數:94*94*2=8836*2=17672
資料排序:CNS 11643 碼序為準,第一、二字面各 8836 筆
碼的表示:UCS-2(4E00--9FAA,以 2 BYTES HEX(4E),HEX(00) 方式表示)
資料結構:每筆 2 BYTES
│2 Bytes│
↑
對
應
的
UCS-2
碼
附 註:UCS-2 對應不到的,以 2 個 NULL CODE(HEX(00)) 代替
範 例:查詢〞大”這個繁體字所對應的UCS-2碼
DECLARE SUB GetCnsRec (Cnschr$)
COMMON SHARED cnsrec%
OPEN "cnstoucs.rel" FOR RANDOM AS #1 LEN = 2
FIELD #1, 2 AS cu$
Cns$="大"
CALL GetCnsRec(Cns$) '讀取”大”這個繁體字的碼序
GET #1, cnsrec% '依碼序讀取檔案內的記錄
Gb$ = cu$ '檔案內的資料即為對應的UCS_2碼
CLOSE #1
END
SUB GetCnsRec (cnschr$) STATIC
first% = ASC(LEFT$(cnschr$, 1)) - 161
IF ASC(RIGHT$(cnschr$, 1)) >= 161 THEN
second% = ASC(RIGHT$(cnschr$, 1)) - 161 'Get First Byte of CNS
cnsrec% = first% * 94 + second% + 1 'First Page of CNS
ELSE
second% = ASC(RIGHT$(cnschr$, 1)) - 33 'Get Second Byte of CNS
cnsrec% = first% * 94 + second% + 1 + 8836 'Second Page of CNS
END IF
END SUB
檔案五
-------------------------------------------------------------------------
以GB 12345碼序為基礎的GB對CNS 11643(對應值為ISO 10646 UCS-2碼) 轉碼對照表
檔案名稱:GBUCSCNS.REL
資料筆數:94*94=8836
資料排序:以 GB 12345-1990 碼序為準,從 HEX(A1A1) 開始,至 HEX(FEFE)止,
共 8836 筆
碼的表示:CNS 11643 對應於 UCS-2 內碼(2 BYTE 表示法,
從 HEX(4E00) 至 HEX(9FA5))
資料結構:每筆 13 BYTES,即個數 + CNS 碼(六組)
│1 Bytes│2 Bytes│2 Bytes│2 Bytes│2 Bytes│2 Bytes│2 Bytes│
↑ ↑ ↑ ↑ ↑ ↑ ↑
對 第 第 第 第 第 第
應 一 二 三 四 五 六
的 個 個 個 個 個 個
數 對 對 對 對 對 對
目 應 應 應 應 應 應
│ 碼 碼 碼 碼 碼 碼
│
└CHR$(0):表沒有對應 CHR$(1):表對應碼有一個
CHR$(2):表對應碼有兩個,依此類推。
附 註:CNS 11643 對應不到的,以 2 個 SPACE CODE(HEX(20)) 代替。
個數表示為 HEX(00) 至 HEX(06)
範 例:查詢〞大”這個簡體字對應UCS上的CNS 碼
DECLARE SUB GetGbRec (gbchr$)
COMMON SHARED gbrec%
OPEN "gbucscns.rel" FOR RANDOM AS #1 LEN = 13
FIELD #1, 13 AS guc$
Gb$="大"
CALL GetGbRec(Gb$) '讀取”大”這個簡體字的碼序
GET #1, gbrec% '依碼序讀取檔案內的記錄
MapNum$ = LEFT$(guc$,1) 'Check對應的CNS碼有幾個
UcsCns1$ = MID$(guc$, 2, 2) '第一個對應Cns之UCS-2碼
UcsCns2$ = MID$(guc$, 4, 2) '第二個對應Cns之UCS-2碼
﹕
﹕
UcsCns6$ = MID$(guc$, 12, 2) '第六個對應Cns之UCS-2碼
CLOSE #1
END
SUB GetGbRec (gbchr$) STATIC
first% = ASC(LEFT$(gbchr$, 1)) - 161 'Get First Byte of GB
second% = ASC(RIGHT$(gbchr$, 1)) - 161 'Get Second Byte of GB
gbrec% = first% * 94 + second% + 1
END SUB
檔案六
-------------------------------------------------------------------------
以 CNS 11643 碼序為基礎的 CNS 11643 對 GB 12345(對應值為 ISO 10646 UCS-2)
轉碼對照表
檔案名稱:CNSUCSGB.REL
資料筆數:94*94*2=17672
資料排序:CNS 11643 碼序為準,第一、二字面各 8836 筆
碼的表示:
GB 12345 對應於 UCS-2 內碼(2 BYTE 表示法,從 HEX(4E00) 至 HEX(9FA5))
資料結構:每筆 2 BYTES,內存 UCS-2 內碼。
│2 Bytes│
↑
對
應
的
UCS-2
碼
附 註:GB 12345 對應不到的,以 2 個 NULL CODE(HEX(00)) 代替
範 例:查詢〞大”這個繁體字所對應GB的UCS-2碼
DECLARE SUB GetCnsRec (Cnschr$)
COMMON SHARED cnsrec%
OPEN "cnsucsgb.rel" FOR RANDOM AS #1 LEN = 2
FIELD #1, 2 AS cug$
Cns$="大"
CALL GetCnsRec(Cns$) '讀取”大”這個繁體字的碼序
GET #1, cnsrec% '依碼序讀取檔案內的記錄
Gb$ = cug$ '檔案內的資料即為對應的GB之UCS_2碼
CLOSE #1
END
SUB GetCnsRec (cnschr$) STATIC
first% = ASC(LEFT$(cnschr$, 1)) - 161
IF ASC(RIGHT$(cnschr$, 1)) >= 161 THEN
second% = ASC(RIGHT$(cnschr$, 1)) - 161 'Get First Byte of CNS
cnsrec% = first% * 94 + second% + 1 'First Page of CNS
ELSE
second% = ASC(RIGHT$(cnschr$, 1)) - 33 'Get Second Byte of CNS
cnsrec% = first% * 94 + second% + 1 + 8836 'Second Page of CNS
END IF
END SUB
檔案七
-------------------------------------------------------------------------
以英文名稱對照CNS 和GB的常用資訊名詞
檔案名稱:CONVERT.DBF
資料筆數:94*94*2=17672
資料結構:
FIELDNAME FIELDTYPE FIELDLEN
============================
CNS CHAR 34 <---國內資訊名詞
CNSCODE CHAR 3 <---國內資訊名詞出處
GB CHAR 30 <---大陸資訊名詞
GBCODE CHAR 3 <---大陸資訊名詞出處
ENG CHAR 78 <---英文名稱
============================
A much more important factor in the social movement than those already mentioned was the ever-increasing influence of women. This probably stood at the lowest point to which it has ever fallen, during the classic age of Greek life and thought. In the history of Thucydides, so far as it forms a connected series of events, four times only during a period of nearly seventy years does a woman cross the scene. In each instance her apparition only lasts for a moment. In three of the four instances she is a queen or a princess, and belongs either to the half-barbarous kingdoms of northern Hellas or to wholly barbarous Thrace. In the one remaining instance208〞 that of the woman who helps some of the trapped Thebans to make their escape from Plataea〞while her deed of mercy will live for ever, her name is for ever lost.319 But no sooner did philosophy abandon physics for ethics and religion than the importance of those subjects to women was perceived, first by Socrates, and after him by Xenophon and Plato. Women are said to have attended Plato*s lectures disguised as men. Women formed part of the circle which gathered round Epicurus in his suburban retreat. Others aspired not only to learn but to teach. Ar那t那, the daughter of Aristippus, handed on the Cyrenaic doctrine to her son, the younger Aristippus. Hipparchia, the wife of Crates the Cynic, earned a place among the representatives of his school. But all these were exceptions; some of them belonged to the class of Hetaerae; and philosophy, although it might address itself to them, remained unaffected by their influence. The case was widely different in Rome, where women were far more highly honoured than in Greece;320 and even if the prominent part assigned to them in the legendary history of the city be a proof, among others, of its untrustworthiness, still that such stories should be thought worth inventing and preserving is an indirect proof of the extent to which feminine influence prevailed. With the loss of political liberty, their importance, as always happens at such a conjuncture, was considerably increased. Under a personal government there is far more scope for intrigue than where law is king; and as intriguers women are at least the209 equals of men. Moreover, they profited fully by the levelling tendencies of the age. One great service of the imperial jurisconsults was to remove some of the disabilities under which women formerly suffered. According to the old law, they were placed under male guardianship through their whole life, but this restraint was first reduced to a legal fiction by compelling the guardian to do what they wished, and at last it was entirely abolished. Their powers both of inheritance and bequest were extended; they frequently possessed immense wealth; and their wealth was sometimes expended for purposes of public munificence. Their social freedom seems to have been unlimited, and they formed combinations among themselves which probably served to increase their general influence.321 The old religions of Greece and Italy were essentially oracular. While inculcating the existence of supernatural beings, and prescribing the modes according to which such beings were to be worshipped, they paid most attention to the interpretation of the signs by which either future events in general, or the consequences of particular actions, were supposed to be divinely revealed. Of these intimations, some were given to the whole world, so that he who ran might read, others were reserved for certain favoured localities, and only communicated through the appointed ministers of the god. The Delphic oracle in particular enjoyed an enormous reputation both among Greeks and barbarians for guidance afforded under the latter conditions; and during a considerable period it may even be said to have directed the course of Hellenic civilisation. It was also under this form that supernatural religion suffered most injury from the great intellectual movement which followed the Persian wars. Men who had learned to study the constant sequences of Nature for themselves, and to shape their conduct according to fixed principles of prudence or of justice, either thought it irreverent to trouble the god about questions on which they were competent to form an opinion for themselves, or did not choose to place a well-considered scheme at the mercy of his possibly interested responses. That such a revolution occurred about the middle of the fifth century B.C., seems proved by the great change of tone in reference to this subject which one perceives on passing from Aeschylus to Sophocles. That anyone should question the veracity of an oracle is a supposition which never crosses the mind of the elder dramatist. A knowledge of augury counts among the greatest benefits222 conferred by Prometheus on mankind, and the Titan brings Zeus himself to terms by his acquaintance with the secrets of destiny. Sophocles, on the other hand, evidently has to deal with a sceptical generation, despising prophecies and needing to be warned of the fearful consequences brought about by neglecting their injunctions. The stranger had a pleasant, round face, with eyes that twinkled in spite of the creases around them that showed worry. No wonder he was worried, Sandy thought: having deserted the craft they had foiled in its attempt to get the gems, the man had returned from some short foray to discover his craft replaced by another. ※Thanks,§ Dick retorted, without smiling. When they reached him, in the dying glow of the flashlight Dick trained on a body lying in a heap, they identified the man who had been warned by his gypsy fortune teller to ※look out for a hidden enemy.§ He was lying at full length in the mould and leaves. "But that is sport," she answered carelessly. On the retirement of Townshend, Walpole reigned supreme and without a rival in the Cabinet. Henry Pelham was made Secretary at War; Compton Earl of Wilmington Privy Seal. He left foreign affairs chiefly to Stanhope, now Lord Harrington, and to the Duke of Newcastle, impressing on them by all means to avoid quarrels with foreign Powers, and maintain the blessings of peace. With all the faults of Walpole, this was the praise of his political system, which system, on the meeting of Parliament in the spring of 1731, was violently attacked by Wyndham and Pulteney, on the plea that we were making ruinous treaties, and sacrificing British interests, in order to benefit Hanover, the eternal millstone round the neck of England. Pulteney and Bolingbroke carried the same attack into the pages of The Craftsman, but they failed to move Walpole, or to shake his power. The English Government, instead of treating Wilkes with a dignified indifference, was weak enough to show how deeply it was touched by him, dismissed him from his commission of Colonel of the Buckinghamshire Militia, and treated Lord Temple as an abettor of his, by depriving him of the Lord-Lieutenancy of the same county, and striking his name from the list of Privy Councillors, giving the Lord-Lieutenancy to Dashwood, now Lord Le Despencer. "I tell you what I'll do," said the Deacon, after a little consideration. "I feel as if both Si and you kin stand a little more'n you had yesterday. I'll cook two to-day. We'll send a big cupful over to Capt. McGillicuddy. That'll leave us two for to-morrer. After that we'll have to trust to Providence." "Indeed you won't," said the Surgeon decisively. "You'll go straight home, and stay there until you are well. You won't be fit for duty for at least a month yet, if then. If you went out into camp now you would have a relapse, and be dead inside of a week. The country between here and Chattanooga is dotted with the graves of men who have been sent back to the front too soon." "Adone do wud that〞though you sound more as if you wur in a black temper wud me than as if you pitied me." "Wot about this gal he's married?" "Don't come any further." "Davy, it 'ud be cruel of us to go and leave him." "Insolent priest!" interrupted De Boteler, "do you dare to justify what you have done? Now, by my faith, if you had with proper humility acknowledged your fault and sued for pardon〞pardon you should have had. But now, you leave this castle instantly. I will teach you that De Boteler will yet be master of his own house, and his own vassals. And here I swear (and the baron of Sudley uttered an imprecation) that, for your meddling knavery, no priest or monk shall ever again abide here. If the varlets want to shrieve, they can go to the Abbey; and if they want to hear mass, a priest can come from Winchcombe. But never shall another of your meddling fraternity abide at Sudley while Roland de Boteler is its lord." "My lord," said Edith, in her defence, "this woman has sworn falsely. The medicine I gave was a sovereign remedy, if given as I ordered. Ten drops would have saved the child's life; but the contents of the phial destroyed it. The words I uttered were prayers for the life of the child. My children, and all who know me, can bear witness that I have a custom of asking His blessing upon all I take in hand. I raised my eyes towards heaven, and muttered words; but, my lord, they were words of prayer〞and I looked up as I prayed, to the footstool of the Lord. But it is in vain to contend: the malice of the wicked will triumph, and Edith Holgrave, who even in thought never harmed one of God's creatures, must be sacrificed to cover the guilt, or hide the thoughtlessness of another." "Aye, Sir Treasurer, thou hast reason to sink thy head! Thy odious poll-tax has mingled vengeance〞nay, blood〞with the cry of the bond." HoME嘉珨撰禱え轎煤夤艘
ENTER NUMBET 0017
www.readingu.com.cn
saiju.net.cn
www.8xue8.com.cn
xuewu9.net.cn
shencd.com.cn
www.baila3.net.cn
geqie4.net.cn
www.guian8.com.cn
www.huizu0.com.cn
www.1genzhen.com.cn