author | Claus Gittinger <cg@exept.de> |
Mon, 08 Mar 2004 18:09:58 +0100 | |
changeset 8114 | 05274a80fcc4 |
parent 8081 | b468050174a9 |
child 8148 | dbf64e3142d9 |
permissions | -rw-r--r-- |
8081 | 1 |
"{ Package: 'stx:libbasic' }" |
2 |
||
3 |
"{ NameSpace: CharacterEncoderImplementations }" |
|
4 |
||
5 |
SingleByteEncoder subclass:#MAC_Farsi |
|
6 |
instanceVariableNames:'' |
|
7 |
classVariableNames:'' |
|
8 |
poolDictionaries:'' |
|
9 |
category:'Collections-Text-Encodings' |
|
10 |
! |
|
11 |
||
12 |
||
13 |
!MAC_Farsi class methodsFor:'mapping'! |
|
14 |
||
15 |
mapFileURL1_relativePathName |
|
16 |
^ 'VENDORS/APPLE/FARSI.TXT' |
|
17 |
! |
|
18 |
||
19 |
mapping |
|
20 |
" |
|
21 |
# From: http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/FARSI.TXT |
|
22 |
||
23 |
#======================================================================= |
|
24 |
# File name: FARSI.TXT |
|
25 |
# |
|
26 |
# Contents: Map (external version) from Mac OS Farsi |
|
27 |
# character set to Unicode 2.1 through Unicode 3.2. |
|
28 |
# |
|
29 |
# Copyright: (c) 1997-2002 by Apple Computer, Inc., all rights |
|
30 |
# reserved. |
|
31 |
# |
|
32 |
# Contact: charsets@apple.com |
|
33 |
# |
|
34 |
# Changes: |
|
35 |
# |
|
36 |
# b3,c1 2002-Dec-19 Add comments about character display and |
|
37 |
# direction overrides. Update URLs, notes. |
|
38 |
# Matches internal utom<b3>. |
|
39 |
# b02 1999-Sep-22 Update contact e-mail address. Matches |
|
40 |
# internal utom<b1>, ufrm<b1>, and Text |
|
41 |
# Encoding Converter version 1.5. |
|
42 |
# n04 1998-Feb-05 Show required Unicode character |
|
43 |
# directionality in a different way. Matches |
|
44 |
# internal utom<n3>, ufrm<n9>, and Text |
|
45 |
# Encoding Converter version 1.3. Update |
|
46 |
# header comments; include information on |
|
47 |
# loose mapping of digits, and changes to |
|
48 |
# mapping for the TrueType variant. |
|
49 |
# n01 1997-Jul-17 First version. Matches internal utom<n1>, |
|
50 |
# ufrm<n2>. |
|
51 |
# |
|
52 |
# Standard header: |
|
53 |
# ---------------- |
|
54 |
# |
|
55 |
# Apple, the Apple logo, and Macintosh are trademarks of Apple |
|
56 |
# Computer, Inc., registered in the United States and other countries. |
|
57 |
# Unicode is a trademark of Unicode Inc. For the sake of brevity, |
|
58 |
# throughout this document, 'Macintosh' can be used to refer to |
|
59 |
# Macintosh computers and 'Unicode' can be used to refer to the |
|
60 |
# Unicode standard. |
|
61 |
# |
|
62 |
# Apple makes no warranty or representation, either express or |
|
63 |
# implied, with respect to these tables, their quality, accuracy, or |
|
64 |
# fitness for a particular purpose. In no event will Apple be liable |
|
65 |
# for direct, indirect, special, incidental, or consequential damages |
|
66 |
# resulting from any defect or inaccuracy in this document or the |
|
67 |
# accompanying tables. |
|
68 |
# |
|
69 |
# These mapping tables and character lists are subject to change. |
|
70 |
# The latest tables should be available from the following: |
|
71 |
# |
|
72 |
# <http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/> |
|
73 |
# |
|
74 |
# For general information about Mac OS encodings and these mapping |
|
75 |
# tables, see the file 'README.TXT'. |
|
76 |
# |
|
77 |
# Format: |
|
78 |
# ------- |
|
79 |
# |
|
80 |
# Three tab-separated columns; |
|
81 |
# '#' begins a comment which continues to the end of the line. |
|
82 |
# Column #1 is the Mac OS Farsi code (in hex as 0xNN) |
|
83 |
# Column #2 is the corresponding Unicode (in hex as 0xNNNN), |
|
84 |
# possibly preceded by a tag indicating required directionality |
|
85 |
# (i.e. <LR>+0xNNNN or <RL>+0xNNNN). |
|
86 |
# Column #3 is a comment containing the Unicode name. |
|
87 |
# |
|
88 |
# The entries are in Mac OS Farsi code order. |
|
89 |
# |
|
90 |
# Control character mappings are not shown in this table, following |
|
91 |
# the conventions of the standard UTC mapping tables. However, the |
|
92 |
# Mac OS Roman character set uses the standard control characters at |
|
93 |
# 0x00-0x1F and 0x7F. |
|
94 |
# |
|
95 |
# Notes on Mac OS Farsi: |
|
96 |
# ---------------------- |
|
97 |
# |
|
98 |
# 1. General |
|
99 |
# |
|
100 |
# The Mac OS Farsi character set is based on the Mac OS Arabic |
|
101 |
# character set. The main difference is in the right-to-left digits |
|
102 |
# 0xB0-0xB9: For Mac OS Arabic these correspond to right-left |
|
103 |
# versions of the Unicode ARABIC-INDIC DIGITs 0660-0669; for |
|
104 |
# Mac OS Farsi these correspond to right-left versions of the |
|
105 |
# Unicode EXTENDED ARABIC-INDIC DIGITs 06F0-06F9. The other |
|
106 |
# difference is in the nature of the font variants. |
|
107 |
# |
|
108 |
# For more information, see the comments in the mapping table for |
|
109 |
# Mac OS Arabic. |
|
110 |
# |
|
111 |
# Mac OS Farsi characters 0xEB-0xF2 are non-spacing/combining marks. |
|
112 |
# |
|
113 |
# 2. Directional characters and roundtrip fidelity |
|
114 |
# |
|
115 |
# The Mac OS Arabic character set (on which Mac OS Farsi is based) |
|
116 |
# was developed in 1986-1987. At that time the bidirectional line |
|
117 |
# layout algorithm used in the Mac OS Arabic system was fairly simple; |
|
118 |
# it used only a few direction classes (instead of the 19 now used in |
|
119 |
# the Unicode bidirectional algorithm). In order to permit users to |
|
120 |
# handle some tricky layout problems, certain punctuation and symbol |
|
121 |
# characters were encoded twice, one with a left-right direction |
|
122 |
# attribute and the other with a right-left direction attribute. This |
|
123 |
# is the case in Mac OS Farsi too. |
|
124 |
# |
|
125 |
# For example, plus sign is encoded at 0x2B with a left-right |
|
126 |
# attribute, and at 0xAB with a right-left attribute. However, there |
|
127 |
# is only one PLUS SIGN character in Unicode. This leads to some |
|
128 |
# interesting problems when mapping between Mac OS Farsi and Unicode; |
|
129 |
# see below. |
|
130 |
# |
|
131 |
# A related problem is that even when a particular character is |
|
132 |
# encoded only once in Mac OS Farsi, it may have a different |
|
133 |
# direction attribute than the corresponding Unicode character. |
|
134 |
# |
|
135 |
# For example, the Mac OS Farsi character at 0x93 is HORIZONTAL |
|
136 |
# ELLIPSIS with strong right-left direction. However, the Unicode |
|
137 |
# character HORIZONTAL ELLIPSIS has direction class neutral. |
|
138 |
# |
|
139 |
# 3. Behavior of ASCII-range numbers in WorldScript |
|
140 |
# |
|
141 |
# Mac OS Farsi also has two sets of digit codes. |
|
142 |
||
143 |
# The digits at 0x30-0x39 may be displayed using either European |
|
144 |
# digit forms or Persian digit forms, depending on context. If there |
|
145 |
# is a 'strong European' character such as a Latin letter on either |
|
146 |
# side of a sequence consisting of digits 0x30-0x39 and possibly comma |
|
147 |
# 0x2C or period 0x2E, then the characters will be displayed using |
|
148 |
# European forms (This will happen even if there are neutral characters |
|
149 |
# between the digits and the strong European character). Otherwise, the |
|
150 |
# digits will be displayed using Persian forms, the comma will be |
|
151 |
# displayed as Arabic thousands separator, and the period as Arabic |
|
152 |
# decimal separator. In any case, 0x2C, 0x2E, and 0x30-0x39 are always |
|
153 |
# left-right. |
|
154 |
# |
|
155 |
# The digits at 0xB0-0xB9 are always displayed using Persian digit |
|
156 |
# shapes, and moreover, these digits always have strong right-left |
|
157 |
# directionality. These are mainly intended for special layout |
|
158 |
# purposes such as part numbers, etc. |
|
159 |
# |
|
160 |
# 4. Font variants |
|
161 |
# |
|
162 |
# The table in this file gives the Unicode mappings for the standard |
|
163 |
# Mac OS Farsi encoding. This encoding is supported by the Tehran font |
|
164 |
# (the system font for Farsi), and is the encoding supported by the |
|
165 |
# text processing utilities. However, the other Farsi fonts actually |
|
166 |
# implement a somewhat different encoding; this affects nine code |
|
167 |
# points including 0xAA and 0xC0 (which are also affected by font |
|
168 |
# variants in Mac OS Arabic). For these nine code points the standard |
|
169 |
# Mac OS Farsi encoding has the following mappings: |
|
170 |
# 0x8B -> 0x06BA ARABIC LETTER NOON GHUNNA (Urdu) |
|
171 |
# 0xA4 -> <RL>+0x0024 DOLLAR SIGN, right-left |
|
172 |
# 0xAA -> <RL>+0x002A ASTERISK, right-left |
|
173 |
# 0xC0 -> <RL>+0x274A EIGHT TEARDROP-SPOKED PROPELLER ASTERISK, |
|
174 |
# right-left |
|
175 |
# 0xF4 -> 0x0679 ARABIC LETTER TTEH (Urdu) |
|
176 |
# 0xF7 -> 0x06A4 ARABIC LETTER VEH (for transliteration) |
|
177 |
# 0xF9 -> 0x0688 ARABIC LETTER DDAL (Urdu) |
|
178 |
# 0xFA -> 0x0691 ARABIC LETTER RREH (Urdu) |
|
179 |
# 0xFF -> 0x06D2 ARABIC LETTER YEH BARREE (Urdu) |
|
180 |
# |
|
181 |
# The TrueType variant is used for the Farsi TrueType fonts: Ashfahan, |
|
182 |
# Amir, Kamran, Mashad, NadeemFarsi. It differs from the standard |
|
183 |
# variant in the following ways: |
|
184 |
# 0x8B -> 0xF882 Arabic ligature 'peace on him' (corporate char.) |
|
185 |
# 0xA4 -> 0xFDFC RIAL SIGN (added in Unicode 3.2) |
|
186 |
# 0xAA -> <RL>+0x00D7 MULTIPLICATION SIGN, right-left |
|
187 |
# 0xC0 -> <RL>+0x002A ASTERISK, right-left |
|
188 |
# 0xF4 -> <RL>+0x00B0 DEGREE SIGN, right-left |
|
189 |
# 0xF7 -> 0xFDFA ARABIC LIGATURE SALLALLAHOU ALAYHE WASALLAM |
|
190 |
# 0xF9 -> <RL>+0x25CF BLACK CIRCLE, right-left |
|
191 |
# 0xFA -> <RL>+0x25A0 BLACK SQUARE, right-left |
|
192 |
# 0xFF -> <RL>+0x25B2 BLACK UP-POINTING TRIANGLE, right-left |
|
193 |
# |
|
194 |
# Unicode mapping issues and notes: |
|
195 |
# --------------------------------- |
|
196 |
# |
|
197 |
# 1. Matching the direction of Mac OS Farsi characters |
|
198 |
# |
|
199 |
# When Mac OS Farsi encodes a character twice but with different |
|
200 |
# direction attributes for the two code points - as in the case of |
|
201 |
# plus sign mentioned above - we need a way to map both Mac OS Farsi |
|
202 |
# code points to Unicode and back again without loss of information. |
|
203 |
# With the plus sign, for example, mapping one of the Mac OS Farsi |
|
204 |
# characters to a code in the Unicode corporate use zone is |
|
205 |
# undesirable, since both of the plus sign characters are likely to |
|
206 |
# be used in text that is interchanged. |
|
207 |
# |
|
208 |
# The problem is solved with the use of direction override characters |
|
209 |
# and direction-dependent mappings. When mapping from Mac OS Farsi |
|
210 |
# to Unicode, we use direction overrides as necessary to force the |
|
211 |
# direction of the resulting Unicode characters. |
|
212 |
# |
|
213 |
# The required direction is indicated by a direction tag in the |
|
214 |
# mappings. A tag of <LR> means the corresponding Unicode character |
|
215 |
# must have a strong left-right context, and a tag of <RL> indicates |
|
216 |
# a right-left context. |
|
217 |
# |
|
218 |
# For example, the mapping of 0x2B is given as <LR>+0x002B; the |
|
219 |
# mapping of 0xAB is given as <RL>+0x002B. If we map an isolated |
|
220 |
# instance of 0x2B to Unicode, it should be mapped as follows (LRO |
|
221 |
# indicates LEFT-RIGHT OVERRIDE, PDF indicates POP DIRECTION |
|
222 |
# FORMATTING): |
|
223 |
# |
|
224 |
# 0x2B -> 0x202D (LRO) + 0x002B (PLUS SIGN) + 0x202C (PDF) |
|
225 |
# |
|
226 |
# When mapping several characters in a row that require direction |
|
227 |
# forcing, the overrides need only be used at the beginning and end. |
|
228 |
# For example: |
|
229 |
# |
|
230 |
# 0x24 0x20 0x28 0x29 -> 0x202D 0x0024 0x0020 0x0028 0x0029 0x202C |
|
231 |
# |
|
232 |
# If neutral characters that require direction forcing are already |
|
233 |
# between strong-direction characters with matching directionality, |
|
234 |
# then direction overrides need not be used. Direction overrides are |
|
235 |
# always needed to map the right-left digits at 0xB0-0xB9. |
|
236 |
# |
|
237 |
# When mapping from Unicode to Mac OS Farsi, the Unicode |
|
238 |
# bidirectional algorithm should be used to determine resolved |
|
239 |
# direction of the Unicode characters. The mapping from Unicode to |
|
240 |
# Mac OS Farsi can then be disambiguated by the use of the resolved |
|
241 |
# direction: |
|
242 |
# |
|
243 |
# Unicode 0x002B -> Mac OS Farsi 0x2B (if L) or 0xAB (if R) |
|
244 |
# |
|
245 |
# However, this also means the direction override characters should |
|
246 |
# be discarded when mapping from Unicode to Mac OS Farsi (after |
|
247 |
# they have been used to determine resolved direction), since the |
|
248 |
# direction override information is carried by the code point itself. |
|
249 |
# |
|
250 |
# Even when direction overrides are not needed for roundtrip |
|
251 |
# fidelity, they are sometimes used when mapping Mac OS Farsi |
|
252 |
# characters to Unicode in order to achieve similar text layout with |
|
253 |
# the resulting Unicode text. For example, the single Mac OS Farsi |
|
254 |
# ellipsis character has direction class right-left,and there is no |
|
255 |
# left-right version. However, the Unicode HORIZONTAL ELLIPSIS |
|
256 |
# character has direction class neutral (which means it may end up |
|
257 |
# with a resolved direction of left-right if surrounded by left-right |
|
258 |
# characters). When mapping the Mac OS Farsi ellipsis to Unicode, it |
|
259 |
# is surrounded with a direction override to help preserve proper |
|
260 |
# text layout. The resolved direction is not needed or used when |
|
261 |
# mapping the Unicode HORIZONTAL ELLIPSIS back to Mac OS Farsi. |
|
262 |
# |
|
263 |
# 2. Mapping the Mac OS Farsi digits |
|
264 |
# |
|
265 |
# The main table below contains mappings that should be used when |
|
266 |
# strict round-trip fidelity is required. However, for numeric |
|
267 |
# values, the mappings in that table will produce Unicode characters |
|
268 |
# that may appear different than the Mac OS Farsi text displayed on |
|
269 |
# a Mac OS system using WorldScript. This is because WorldScript |
|
270 |
# uses context-dependent display for the 0x30-0x39 digits. |
|
271 |
# |
|
272 |
# If roundtrip fidelity is not required, then the following |
|
273 |
# alternate mappings should be used when a sequence of 0x30-0x39 |
|
274 |
# digits - possibly including 0x2C and 0x2E - occurs in an Arabic |
|
275 |
# context (that is, when the first 'strong' character on either side |
|
276 |
# of the digit sequence is Arabic, or there is no strong character): |
|
277 |
# |
|
278 |
# 0x2C 0x066C # ARABIC THOUSANDS SEPARATOR |
|
279 |
# 0x2E 0x066B # ARABIC DECIMAL SEPARATOR |
|
280 |
# 0x30 0x06F0 # EXTENDED ARABIC-INDIC DIGIT ZERO |
|
281 |
# 0x31 0x06F1 # EXTENDED ARABIC-INDIC DIGIT ONE |
|
282 |
# 0x32 0x06F2 # EXTENDED ARABIC-INDIC DIGIT TWO |
|
283 |
# 0x33 0x06F3 # EXTENDED ARABIC-INDIC DIGIT THREE |
|
284 |
# 0x34 0x06F4 # EXTENDED ARABIC-INDIC DIGIT FOUR |
|
285 |
# 0x35 0x06F5 # EXTENDED ARABIC-INDIC DIGIT FIVE |
|
286 |
# 0x36 0x06F6 # EXTENDED ARABIC-INDIC DIGIT SIX |
|
287 |
# 0x37 0x06F7 # EXTENDED ARABIC-INDIC DIGIT SEVEN |
|
288 |
# 0x38 0x06F8 # EXTENDED ARABIC-INDIC DIGIT EIGHT |
|
289 |
# 0x39 0x06F9 # EXTENDED ARABIC-INDIC DIGIT NINE |
|
290 |
# |
|
291 |
# 3. Use of corporate-zone Unicodes (mapping the TrueType variant) |
|
292 |
# |
|
293 |
# The following corporate zone Unicode character is used in this |
|
294 |
# mapping: |
|
295 |
# |
|
296 |
# 0xF882 Arabic ligature 'peace on him' |
|
297 |
# |
|
298 |
# Details of mapping changes in each version: |
|
299 |
# ------------------------------------------- |
|
300 |
# |
|
301 |
# Changes from version b02 to version b03/c01: |
|
302 |
# |
|
303 |
# - Update mapping of 0xA4 in TrueType variant to use new Unicode |
|
304 |
# character U+FDFC RIAL SIGN addded for Unicode 3.2 |
|
305 |
# |
|
306 |
# Changes from version n01 to version n04: |
|
307 |
# |
|
308 |
# - Change mapping of 0xA4 in TrueType variant (just described in |
|
309 |
# header comment) from single corporate character to use |
|
310 |
# grouping hint |
|
311 |
# |
|
312 |
################## |
|
313 |
||
314 |
0x20 <LR>+0x0020 # SPACE, left-right |
|
315 |
0x21 <LR>+0x0021 # EXCLAMATION MARK, left-right |
|
316 |
0x22 <LR>+0x0022 # QUOTATION MARK, left-right |
|
317 |
0x23 <LR>+0x0023 # NUMBER SIGN, left-right |
|
318 |
0x24 <LR>+0x0024 # DOLLAR SIGN, left-right |
|
319 |
0x25 <LR>+0x0025 # PERCENT SIGN, left-right |
|
320 |
0x26 <LR>+0x0026 # AMPERSAND, left-right |
|
321 |
0x27 <LR>+0x0027 # APOSTROPHE, left-right |
|
322 |
0x28 <LR>+0x0028 # LEFT PARENTHESIS, left-right |
|
323 |
0x29 <LR>+0x0029 # RIGHT PARENTHESIS, left-right |
|
324 |
0x2A <LR>+0x002A # ASTERISK, left-right |
|
325 |
0x2B <LR>+0x002B # PLUS SIGN, left-right |
|
326 |
0x2C <LR>+0x002C # COMMA, left-right; in Arabic-script context, displayed as 0x066C ARABIC THOUSANDS SEPARATOR |
|
327 |
0x2D <LR>+0x002D # HYPHEN-MINUS, left-right |
|
328 |
0x2E <LR>+0x002E # FULL STOP, left-right; in Arabic-script context, displayed as 0x066B ARABIC DECIMAL SEPARATOR |
|
329 |
0x2F <LR>+0x002F # SOLIDUS, left-right |
|
330 |
0x30 0x0030 # DIGIT ZERO; in Arabic-script context, displayed as 0x06F0 EXTENDED ARABIC-INDIC DIGIT ZERO |
|
331 |
0x31 0x0031 # DIGIT ONE; in Arabic-script context, displayed as 0x06F1 EXTENDED ARABIC-INDIC DIGIT ONE |
|
332 |
0x32 0x0032 # DIGIT TWO; in Arabic-script context, displayed as 0x06F2 EXTENDED ARABIC-INDIC DIGIT TWO |
|
333 |
0x33 0x0033 # DIGIT THREE; in Arabic-script context, displayed as 0x06F3 EXTENDED ARABIC-INDIC DIGIT THREE |
|
334 |
0x34 0x0034 # DIGIT FOUR; in Arabic-script context, displayed as 0x06F4 EXTENDED ARABIC-INDIC DIGIT FOUR |
|
335 |
0x35 0x0035 # DIGIT FIVE; in Arabic-script context, displayed as 0x06F5 EXTENDED ARABIC-INDIC DIGIT FIVE |
|
336 |
0x36 0x0036 # DIGIT SIX; in Arabic-script context, displayed as 0x06F6 EXTENDED ARABIC-INDIC DIGIT SIX |
|
337 |
0x37 0x0037 # DIGIT SEVEN; in Arabic-script context, displayed as 0x06F7 EXTENDED ARABIC-INDIC DIGIT SEVEN |
|
338 |
0x38 0x0038 # DIGIT EIGHT; in Arabic-script context, displayed as 0x06F8 EXTENDED ARABIC-INDIC DIGIT EIGHT |
|
339 |
0x39 0x0039 # DIGIT NINE; in Arabic-script context, displayed as 0x06F9 EXTENDED ARABIC-INDIC DIGIT NINE |
|
340 |
0x3A <LR>+0x003A # COLON, left-right |
|
341 |
0x3B <LR>+0x003B # SEMICOLON, left-right |
|
342 |
0x3C <LR>+0x003C # LESS-THAN SIGN, left-right |
|
343 |
0x3D <LR>+0x003D # EQUALS SIGN, left-right |
|
344 |
0x3E <LR>+0x003E # GREATER-THAN SIGN, left-right |
|
345 |
0x3F <LR>+0x003F # QUESTION MARK, left-right |
|
346 |
0x40 0x0040 # COMMERCIAL AT |
|
347 |
0x41 0x0041 # LATIN CAPITAL LETTER A |
|
348 |
0x42 0x0042 # LATIN CAPITAL LETTER B |
|
349 |
0x43 0x0043 # LATIN CAPITAL LETTER C |
|
350 |
0x44 0x0044 # LATIN CAPITAL LETTER D |
|
351 |
0x45 0x0045 # LATIN CAPITAL LETTER E |
|
352 |
0x46 0x0046 # LATIN CAPITAL LETTER F |
|
353 |
0x47 0x0047 # LATIN CAPITAL LETTER G |
|
354 |
0x48 0x0048 # LATIN CAPITAL LETTER H |
|
355 |
0x49 0x0049 # LATIN CAPITAL LETTER I |
|
356 |
0x4A 0x004A # LATIN CAPITAL LETTER J |
|
357 |
0x4B 0x004B # LATIN CAPITAL LETTER K |
|
358 |
0x4C 0x004C # LATIN CAPITAL LETTER L |
|
359 |
0x4D 0x004D # LATIN CAPITAL LETTER M |
|
360 |
0x4E 0x004E # LATIN CAPITAL LETTER N |
|
361 |
0x4F 0x004F # LATIN CAPITAL LETTER O |
|
362 |
0x50 0x0050 # LATIN CAPITAL LETTER P |
|
363 |
0x51 0x0051 # LATIN CAPITAL LETTER Q |
|
364 |
0x52 0x0052 # LATIN CAPITAL LETTER R |
|
365 |
0x53 0x0053 # LATIN CAPITAL LETTER S |
|
366 |
0x54 0x0054 # LATIN CAPITAL LETTER T |
|
367 |
0x55 0x0055 # LATIN CAPITAL LETTER U |
|
368 |
0x56 0x0056 # LATIN CAPITAL LETTER V |
|
369 |
0x57 0x0057 # LATIN CAPITAL LETTER W |
|
370 |
0x58 0x0058 # LATIN CAPITAL LETTER X |
|
371 |
0x59 0x0059 # LATIN CAPITAL LETTER Y |
|
372 |
0x5A 0x005A # LATIN CAPITAL LETTER Z |
|
373 |
0x5B <LR>+0x005B # LEFT SQUARE BRACKET, left-right |
|
374 |
0x5C <LR>+0x005C # REVERSE SOLIDUS, left-right |
|
375 |
0x5D <LR>+0x005D # RIGHT SQUARE BRACKET, left-right |
|
376 |
0x5E <LR>+0x005E # CIRCUMFLEX ACCENT, left-right |
|
377 |
0x5F <LR>+0x005F # LOW LINE, left-right |
|
378 |
0x60 0x0060 # GRAVE ACCENT |
|
379 |
0x61 0x0061 # LATIN SMALL LETTER A |
|
380 |
0x62 0x0062 # LATIN SMALL LETTER B |
|
381 |
0x63 0x0063 # LATIN SMALL LETTER C |
|
382 |
0x64 0x0064 # LATIN SMALL LETTER D |
|
383 |
0x65 0x0065 # LATIN SMALL LETTER E |
|
384 |
0x66 0x0066 # LATIN SMALL LETTER F |
|
385 |
0x67 0x0067 # LATIN SMALL LETTER G |
|
386 |
0x68 0x0068 # LATIN SMALL LETTER H |
|
387 |
0x69 0x0069 # LATIN SMALL LETTER I |
|
388 |
0x6A 0x006A # LATIN SMALL LETTER J |
|
389 |
0x6B 0x006B # LATIN SMALL LETTER K |
|
390 |
0x6C 0x006C # LATIN SMALL LETTER L |
|
391 |
0x6D 0x006D # LATIN SMALL LETTER M |
|
392 |
0x6E 0x006E # LATIN SMALL LETTER N |
|
393 |
0x6F 0x006F # LATIN SMALL LETTER O |
|
394 |
0x70 0x0070 # LATIN SMALL LETTER P |
|
395 |
0x71 0x0071 # LATIN SMALL LETTER Q |
|
396 |
0x72 0x0072 # LATIN SMALL LETTER R |
|
397 |
0x73 0x0073 # LATIN SMALL LETTER S |
|
398 |
0x74 0x0074 # LATIN SMALL LETTER T |
|
399 |
0x75 0x0075 # LATIN SMALL LETTER U |
|
400 |
0x76 0x0076 # LATIN SMALL LETTER V |
|
401 |
0x77 0x0077 # LATIN SMALL LETTER W |
|
402 |
0x78 0x0078 # LATIN SMALL LETTER X |
|
403 |
0x79 0x0079 # LATIN SMALL LETTER Y |
|
404 |
0x7A 0x007A # LATIN SMALL LETTER Z |
|
405 |
0x7B <LR>+0x007B # LEFT CURLY BRACKET, left-right |
|
406 |
0x7C <LR>+0x007C # VERTICAL LINE, left-right |
|
407 |
0x7D <LR>+0x007D # RIGHT CURLY BRACKET, left-right |
|
408 |
0x7E 0x007E # TILDE |
|
409 |
# |
|
410 |
0x80 0x00C4 # LATIN CAPITAL LETTER A WITH DIAERESIS |
|
411 |
0x81 <RL>+0x00A0 # NO-BREAK SPACE, right-left |
|
412 |
0x82 0x00C7 # LATIN CAPITAL LETTER C WITH CEDILLA |
|
413 |
0x83 0x00C9 # LATIN CAPITAL LETTER E WITH ACUTE |
|
414 |
0x84 0x00D1 # LATIN CAPITAL LETTER N WITH TILDE |
|
415 |
0x85 0x00D6 # LATIN CAPITAL LETTER O WITH DIAERESIS |
|
416 |
0x86 0x00DC # LATIN CAPITAL LETTER U WITH DIAERESIS |
|
417 |
0x87 0x00E1 # LATIN SMALL LETTER A WITH ACUTE |
|
418 |
0x88 0x00E0 # LATIN SMALL LETTER A WITH GRAVE |
|
419 |
0x89 0x00E2 # LATIN SMALL LETTER A WITH CIRCUMFLEX |
|
420 |
0x8A 0x00E4 # LATIN SMALL LETTER A WITH DIAERESIS |
|
421 |
0x8B 0x06BA # ARABIC LETTER NOON GHUNNA |
|
422 |
0x8C <RL>+0x00AB # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left |
|
423 |
0x8D 0x00E7 # LATIN SMALL LETTER C WITH CEDILLA |
|
424 |
0x8E 0x00E9 # LATIN SMALL LETTER E WITH ACUTE |
|
425 |
0x8F 0x00E8 # LATIN SMALL LETTER E WITH GRAVE |
|
426 |
0x90 0x00EA # LATIN SMALL LETTER E WITH CIRCUMFLEX |
|
427 |
0x91 0x00EB # LATIN SMALL LETTER E WITH DIAERESIS |
|
428 |
0x92 0x00ED # LATIN SMALL LETTER I WITH ACUTE |
|
429 |
0x93 <RL>+0x2026 # HORIZONTAL ELLIPSIS, right-left |
|
430 |
0x94 0x00EE # LATIN SMALL LETTER I WITH CIRCUMFLEX |
|
431 |
0x95 0x00EF # LATIN SMALL LETTER I WITH DIAERESIS |
|
432 |
0x96 0x00F1 # LATIN SMALL LETTER N WITH TILDE |
|
433 |
0x97 0x00F3 # LATIN SMALL LETTER O WITH ACUTE |
|
434 |
0x98 <RL>+0x00BB # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK, right-left |
|
435 |
0x99 0x00F4 # LATIN SMALL LETTER O WITH CIRCUMFLEX |
|
436 |
0x9A 0x00F6 # LATIN SMALL LETTER O WITH DIAERESIS |
|
437 |
0x9B <RL>+0x00F7 # DIVISION SIGN, right-left |
|
438 |
0x9C 0x00FA # LATIN SMALL LETTER U WITH ACUTE |
|
439 |
0x9D 0x00F9 # LATIN SMALL LETTER U WITH GRAVE |
|
440 |
0x9E 0x00FB # LATIN SMALL LETTER U WITH CIRCUMFLEX |
|
441 |
0x9F 0x00FC # LATIN SMALL LETTER U WITH DIAERESIS |
|
442 |
0xA0 <RL>+0x0020 # SPACE, right-left |
|
443 |
0xA1 <RL>+0x0021 # EXCLAMATION MARK, right-left |
|
444 |
0xA2 <RL>+0x0022 # QUOTATION MARK, right-left |
|
445 |
0xA3 <RL>+0x0023 # NUMBER SIGN, right-left |
|
446 |
0xA4 <RL>+0x0024 # DOLLAR SIGN, right-left |
|
447 |
0xA5 0x066A # ARABIC PERCENT SIGN |
|
448 |
0xA6 <RL>+0x0026 # AMPERSAND, right-left |
|
449 |
0xA7 <RL>+0x0027 # APOSTROPHE, right-left |
|
450 |
0xA8 <RL>+0x0028 # LEFT PARENTHESIS, right-left |
|
451 |
0xA9 <RL>+0x0029 # RIGHT PARENTHESIS, right-left |
|
452 |
0xAA <RL>+0x002A # ASTERISK, right-left |
|
453 |
0xAB <RL>+0x002B # PLUS SIGN, right-left |
|
454 |
0xAC 0x060C # ARABIC COMMA |
|
455 |
0xAD <RL>+0x002D # HYPHEN-MINUS, right-left |
|
456 |
0xAE <RL>+0x002E # FULL STOP, right-left |
|
457 |
0xAF <RL>+0x002F # SOLIDUS, right-left |
|
458 |
0xB0 <RL>+0x06F0 # EXTENDED ARABIC-INDIC DIGIT ZERO, right-left (need override) |
|
459 |
0xB1 <RL>+0x06F1 # EXTENDED ARABIC-INDIC DIGIT ONE, right-left (need override) |
|
460 |
0xB2 <RL>+0x06F2 # EXTENDED ARABIC-INDIC DIGIT TWO, right-left (need override) |
|
461 |
0xB3 <RL>+0x06F3 # EXTENDED ARABIC-INDIC DIGIT THREE, right-left (need override) |
|
462 |
0xB4 <RL>+0x06F4 # EXTENDED ARABIC-INDIC DIGIT FOUR, right-left (need override) |
|
463 |
0xB5 <RL>+0x06F5 # EXTENDED ARABIC-INDIC DIGIT FIVE, right-left (need override) |
|
464 |
0xB6 <RL>+0x06F6 # EXTENDED ARABIC-INDIC DIGIT SIX, right-left (need override) |
|
465 |
0xB7 <RL>+0x06F7 # EXTENDED ARABIC-INDIC DIGIT SEVEN, right-left (need override) |
|
466 |
0xB8 <RL>+0x06F8 # EXTENDED ARABIC-INDIC DIGIT EIGHT, right-left (need override) |
|
467 |
0xB9 <RL>+0x06F9 # EXTENDED ARABIC-INDIC DIGIT NINE, right-left (need override) |
|
468 |
0xBA <RL>+0x003A # COLON, right-left |
|
469 |
0xBB 0x061B # ARABIC SEMICOLON |
|
470 |
0xBC <RL>+0x003C # LESS-THAN SIGN, right-left |
|
471 |
0xBD <RL>+0x003D # EQUALS SIGN, right-left |
|
472 |
0xBE <RL>+0x003E # GREATER-THAN SIGN, right-left |
|
473 |
0xBF 0x061F # ARABIC QUESTION MARK |
|
474 |
0xC0 <RL>+0x274A # EIGHT TEARDROP-SPOKED PROPELLER ASTERISK, right-left |
|
475 |
0xC1 0x0621 # ARABIC LETTER HAMZA |
|
476 |
0xC2 0x0622 # ARABIC LETTER ALEF WITH MADDA ABOVE |
|
477 |
0xC3 0x0623 # ARABIC LETTER ALEF WITH HAMZA ABOVE |
|
478 |
0xC4 0x0624 # ARABIC LETTER WAW WITH HAMZA ABOVE |
|
479 |
0xC5 0x0625 # ARABIC LETTER ALEF WITH HAMZA BELOW |
|
480 |
0xC6 0x0626 # ARABIC LETTER YEH WITH HAMZA ABOVE |
|
481 |
0xC7 0x0627 # ARABIC LETTER ALEF |
|
482 |
0xC8 0x0628 # ARABIC LETTER BEH |
|
483 |
0xC9 0x0629 # ARABIC LETTER TEH MARBUTA |
|
484 |
0xCA 0x062A # ARABIC LETTER TEH |
|
485 |
0xCB 0x062B # ARABIC LETTER THEH |
|
486 |
0xCC 0x062C # ARABIC LETTER JEEM |
|
487 |
0xCD 0x062D # ARABIC LETTER HAH |
|
488 |
0xCE 0x062E # ARABIC LETTER KHAH |
|
489 |
0xCF 0x062F # ARABIC LETTER DAL |
|
490 |
0xD0 0x0630 # ARABIC LETTER THAL |
|
491 |
0xD1 0x0631 # ARABIC LETTER REH |
|
492 |
0xD2 0x0632 # ARABIC LETTER ZAIN |
|
493 |
0xD3 0x0633 # ARABIC LETTER SEEN |
|
494 |
0xD4 0x0634 # ARABIC LETTER SHEEN |
|
495 |
0xD5 0x0635 # ARABIC LETTER SAD |
|
496 |
0xD6 0x0636 # ARABIC LETTER DAD |
|
497 |
0xD7 0x0637 # ARABIC LETTER TAH |
|
498 |
0xD8 0x0638 # ARABIC LETTER ZAH |
|
499 |
0xD9 0x0639 # ARABIC LETTER AIN |
|
500 |
0xDA 0x063A # ARABIC LETTER GHAIN |
|
501 |
0xDB <RL>+0x005B # LEFT SQUARE BRACKET, right-left |
|
502 |
0xDC <RL>+0x005C # REVERSE SOLIDUS, right-left |
|
503 |
0xDD <RL>+0x005D # RIGHT SQUARE BRACKET, right-left |
|
504 |
0xDE <RL>+0x005E # CIRCUMFLEX ACCENT, right-left |
|
505 |
0xDF <RL>+0x005F # LOW LINE, right-left |
|
506 |
0xE0 0x0640 # ARABIC TATWEEL |
|
507 |
0xE1 0x0641 # ARABIC LETTER FEH |
|
508 |
0xE2 0x0642 # ARABIC LETTER QAF |
|
509 |
0xE3 0x0643 # ARABIC LETTER KAF |
|
510 |
0xE4 0x0644 # ARABIC LETTER LAM |
|
511 |
0xE5 0x0645 # ARABIC LETTER MEEM |
|
512 |
0xE6 0x0646 # ARABIC LETTER NOON |
|
513 |
0xE7 0x0647 # ARABIC LETTER HEH |
|
514 |
0xE8 0x0648 # ARABIC LETTER WAW |
|
515 |
0xE9 0x0649 # ARABIC LETTER ALEF MAKSURA |
|
516 |
0xEA 0x064A # ARABIC LETTER YEH |
|
517 |
0xEB 0x064B # ARABIC FATHATAN |
|
518 |
0xEC 0x064C # ARABIC DAMMATAN |
|
519 |
0xED 0x064D # ARABIC KASRATAN |
|
520 |
0xEE 0x064E # ARABIC FATHA |
|
521 |
0xEF 0x064F # ARABIC DAMMA |
|
522 |
0xF0 0x0650 # ARABIC KASRA |
|
523 |
0xF1 0x0651 # ARABIC SHADDA |
|
524 |
0xF2 0x0652 # ARABIC SUKUN |
|
525 |
0xF3 0x067E # ARABIC LETTER PEH |
|
526 |
0xF4 0x0679 # ARABIC LETTER TTEH |
|
527 |
0xF5 0x0686 # ARABIC LETTER TCHEH |
|
528 |
0xF6 0x06D5 # ARABIC LETTER AE |
|
529 |
0xF7 0x06A4 # ARABIC LETTER VEH |
|
530 |
0xF8 0x06AF # ARABIC LETTER GAF |
|
531 |
0xF9 0x0688 # ARABIC LETTER DDAL |
|
532 |
0xFA 0x0691 # ARABIC LETTER RREH |
|
533 |
0xFB <RL>+0x007B # LEFT CURLY BRACKET, right-left |
|
534 |
0xFC <RL>+0x007C # VERTICAL LINE, right-left |
|
535 |
0xFD <RL>+0x007D # RIGHT CURLY BRACKET, right-left |
|
536 |
0xFE 0x0698 # ARABIC LETTER JEH |
|
537 |
0xFF 0x06D2 # ARABIC LETTER YEH BARREE |
|
538 |
||
539 |
" |
|
540 |
! ! |
|
541 |
||
542 |
!MAC_Farsi class methodsFor:'documentation'! |
|
543 |
||
544 |
version |
|
8114
05274a80fcc4
separated implementation into dynamically (lazy) loaded classes
Claus Gittinger <cg@exept.de>
parents:
8081
diff
changeset
|
545 |
^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderImplementations__MAC_Farsi.st,v 1.2 2004-03-08 17:09:04 cg Exp $' |
8081 | 546 |
! ! |