summaryrefslogtreecommitdiff
path: root/support/translit/phg-koi8.rus
blob: 15489d54b7d7c02f07a12db2f0674b96dc3950dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112

# Jan Labanowski, jkl@osc.edu, Dec. 30, 1992
# File phg-koi8.rus

# This is a transliteration data file for converting from transliteration
# defined in the GOST 16876-71 standard to KOI8 as used by RELCOM.
# Since I never had a chance to look at the GOST 16876-71 document,
# the actual table is based on the info which I read on some list
# (I believe it was posted by Glenn Thobe on RUS-TEX)
# To be used with translit.c program by Jan Labanowski

   1            file version number

   "    "      # string delimiters
   [    ]      # list delimites
   {    }      # regular expression delimiters


#starting sequence
""


#ending sequence
""

   2     # number of input SHIFT sequences
""  ""  ""  ""  ""  ""    # no SHIFT-OUT/IN for Russian letters
"{" ""  ""  ""  "}" ""    # Latin text in braces {}

   0     # number of output SHIFT sequences, only one set of output characters
  
# conversion table

# Latin(ASCII) is embraced in {}
     2         [\0x21-\0x79]        0  [\0x21-\0x79]

# White space and control characters
     0         [\0x01-\0x20]        0  [\0x01-\0x20]
# punctuation and digits
     0  [\0x21-\0x26\0x28-\0x3F\0x5B-\0x5F\0x7C\0x7e]
                               0 [\0x21-\0x26\0x28-\0x3F\0x5B-\0x5F\0x7C\0x7e]
# inp_set_numb  inp_seq        out_set_numb  out_seq
     1         {K[Hh]}              0       "\0xE8"  # capital Kha
     1         {E[Hh]}              0       "\0xFC"  # capital reverse round E
     1         {J[Oo]}              0       "\0xB3"  # capital Yo
     1         {J[Ee]}              0       "\0xE5"  # capital Je
     1         {Z[Hh]}              0       "\0xF6"  # capital Zhe
     1         {J[Jj]}              0       "\0xEA"  # capital short I
     1         {S[Hh][Cc][Hh]}      0       "\0xFD"  # capital Shcha
     1         {C[Hh]}              0       "\0xFE"  # capital Che
     1         {S[Hh]}              0       "\0xFB"  # capital Sha
     1         {H[Hh]}              0       "\0xFD"  # capital Shcha
     1         "``"                 0       "\0xFF"  # capital hard sign (Ier)
     1         {J[Uu]}              0       "\0xE0"  # capital Yu
     1         {J[Aa]}              0       "\0xF1"  # capital Ya
     1         "kh"                 0       "\0xC8"  # small kha
     1         "eh"                 0       "\0xDC"  # small reverse rounded e
     1         "jo"                 0       "\0xA3"  # small yo
     1         "zh"                 0       "\0xD6"  # small zhe
     1         "jj"                 0       "\0xCA"  # small short i
     1         "shch"               0       "\0xDD"  # small shcha
     1         "ch"                 0       "\0xDE"  # small che
     1         "sh"                 0       "\0xDB"  # small sha
     1         "hh"                 0       "\0xDD"  # small shcha
     1         "''"                 0       "\0xDF"  # small hard sign (ier)
     1         "ju"                 0       "\0xC0"  # small yu
     1         "ja"                 0       "\0xD1"  # small ya
     1         "A"                  0       "\0xE1"  # capital A
     1         "B"                  0       "\0xE2"  # capital Be
     1         "V"                  0       "\0xF7"  # capital Ve
     1         "G"                  0       "\0xE7"  # capital Ghe
     1         "D"                  0       "\0xE4"  # capital De
     1         "E"                  0       "\0xE5"  # capital Je
     1         "Z"                  0       "\0xFA"  # capital Ze
     1         "I"                  0       "\0xE9"  # capital I
     1         "K"                  0       "\0xEB"  # capital Ka
     1         "L"                  0       "\0xEC"  # capital El
     1         "M"                  0       "\0xED"  # capital Em
     1         "N"                  0       "\0xEE"  # capital En
     1         "O"                  0       "\0xEF"  # capital O
     1         "P"                  0       "\0xF0"  # capital Pe
     1         "R"                  0       "\0xF2"  # capital Er
     1         "S"                  0       "\0xF3"  # capital Es
     1         "T"                  0       "\0xF4"  # capital Te
     1         "U"                  0       "\0xF5"  # capital U
     1         "F"                  0       "\0xE6"  # capital Ef
     1         "C"                  0       "\0xE3"  # capital Tse
     1         "Y"                  0       "\0xF9"  # capital Y (Iery)
     1         "`"                  0       "\0xF8"  # capital soft sign Ierik

     1         "a"                  0       "\0xC1"  # small a
     1         "b"                  0       "\0xC2"  # small be
     1         "v"                  0       "\0xD7"  # small ve
     1         "g"                  0       "\0xC7"  # small ghe
     1         "d"                  0       "\0xC4"  # small de
     1         "e"                  0       "\0xC5"  # small je
     1         "z"                  0       "\0xDA"  # small z
     1         "i"                  0       "\0xC9"  # small i
     1         "k"                  0       "\0xCB"  # small ka
     1         "l"                  0       "\0xCC"  # small el
     1         "m"                  0       "\0xCD"  # small em
     1         "n"                  0       "\0xCE"  # small en
     1         "o"                  0       "\0xCF"  # small o
     1         "p"                  0       "\0xD0"  # small pe
     1         "r"                  0       "\0xD2"  # small er
     1         "s"                  0       "\0xD3"  # small es
     1         "t"                  0       "\0xD4"  # small te
     1         "u"                  0       "\0xD5"  # small u
     1         "f"                  0       "\0xC6"  # small ef
     1         "c"                  0       "\0xC3"  # small tse
     1         "y"                  0       "\0xD9"  # small y (iery)
     1         "'"                  0       "\0xD8"  # small soft sign (ierik)