##Adobe File Version: 1.000 #======================================================================= # FTP file name: DEVANAGA.TXT # # Contents: Map (external version) from Mac OS Devanagari # encoding to Unicode 2.1 # # Copyright: (c) 1995-1999 by Apple Computer, Inc., all rights # reserved. # # Contact: charsets@apple.com # # Changes: # # b02 1999-Sep-22 Update contact e-mail address. Matches # internal utom<b1>, ufrm<b1>, and Text # Encoding Converter version 1.5. # n04 1998-Feb-05 First version; matches internal utom<n9>, # ufrm<n15>. # # Standard header: # ---------------- # # Apple, the Apple logo, and Macintosh are trademarks of Apple # Computer, Inc., registered in the United States and other countries. # Unicode is a trademark of Unicode Inc. For the sake of brevity, # throughout this document, "Macintosh" can be used to refer to # Macintosh computers and "Unicode" can be used to refer to the # Unicode standard. # # Apple makes no warranty or representation, either express or # implied, with respect to these tables, their quality, accuracy, or # fitness for a particular purpose. In no event will Apple be liable # for direct, indirect, special, incidental, or consequential damages # resulting from any defect or inaccuracy in this document or the # accompanying tables. # # These mapping tables and character lists are subject to change. # The latest tables should be available from the following: # # <ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/APPLE/> # <ftp://dev.apple.com/devworld/Technical_Documentation/Misc._Standards/> # # For general information about Mac OS encodings and these mapping # tables, see the file "README.TXT". # # Format: # ------- # # Three tab-separated columns; # '#' begins a comment which continues to the end of the line. # Column #1 is the Mac OS Devanagari code or code sequence # (in hex as 0xNN or 0xNN+0xNN) # Column #2 is the corresponding Unicode or Unicode sequence # (in hex as 0xNNNN or 0xNNNN+0xNNNN). # Column #3 is a comment containing the Unicode name or sequence # of names. In some cases an additional comment follows the # Unicode name(s). # # The entries are in two sections. The first section is for pairs of # Mac OS Devanagari code points that must be mapped in a special way. # The second section maps individual code points. # # Within each section, the entries are in Mac OS Devanagari code order. # # Control character mappings are not shown in this table, following # the conventions of the standard UTC mapping tables. However, the # Mac OS Devanagari character set uses the standard control characters # at 0x00-0x1F and 0x7F. # # Notes on Mac OS Devanagari: # --------------------------- # # Mac OS Devanagari is based on IS 13194:1991 (ISCII-91), with the # addition of several punctuation and symbol characters. However, # Mac OS Devanagari does not support the ATR (attribute) mechanism of # ISCII-91. # # 1. ISCII-91 features in Mac OS Devanagari include: # # a) Overloading of nukta # # In addition to using the nukta (0xE9) like a combining dot below, # nukta is overloaded to function as a general character modifier. # In this role, certain code points followed by 0xE9 are treated as # a two-byte code point representing a character which may be # rather different than the characters represented by either of # the code points alone. For example, the character DEVANAGARI OM # (U+0950) is represented in ISCII-91 as candrabindu + nukta. # # b) Explicit halant and soft halant # # A double halant (0xE8 + 0xE8) constitutes an "explicit halant", # which will always appear as a halant instead of causing formation # of a ligature or half-form consonant. # # Halant followed by nukta (0xE8 + 0xE9) constitutes a "soft # halant", which prevents formation of a ligature and instead # retains the half-form of the first consonant. # # c) Invisible consonant # # The byte 0xD9 (called INV in ISCII-91) is an invisible consonant: # It behaves like a consonant but has no visible appearance. It is # intended to be used (often in combination with halant) to display # dependent forms in isolation, such as the RA forms or consonant # half-forms. # # d) Extensions for Vedic, etc. # # The byte 0xF0 (called EXT in ISCII-91) followed by any byte in # the range 0xA1-0xEE constitutes a two-byte code point which can # be used to represent additional characters for Vedic (or other # extensions); 0xF0 followed by any other byte value constitutes # malformed text. Mac OS Devanagari supports this mechanism, but # does not currently map any of these two-byte code points to # anything. # # 2. Mac OS Devanagari additions # # Mac OS Devanagari adds characters using the code points # 0x80-0x8A and 0x90-0x91 (the latter are some Devanagari additions # from Unicode). # # 3. Unused code points # # The following code points are currently unused, and are not shown # here: 0x8B-0x8F, 0x92-0xA0, 0xEB-0xEF, 0xFB-0xFF. In addition, # 0xF0 is not shown here, but it has a special function as described # above. # # Unicode mapping issues and notes: # --------------------------------- # # 1. Mapping the byte pairs # # If one of the following byte values is encountered when mapping # Mac OS Devanagari text - 0xA1, 0xA6, 0xA7, 0xAA, 0xDB, 0xDC, 0xDF, # 0xE8, or 0xEA - then the next byte (if there is one) should be # examined. If the next byte is 0xE9 - or also 0xE8, if the first # byte was 0xE8 - then the byte pair should be mapped using the # first section of the mapping table below. Otherwise, each byte # should be mapped using the second section of the mapping table # below. # # - The Unicode Standard, Version 2.0, specifies how explicit # halant and soft halant should be represented in Unicode; # these mappings are used below. # # If the byte value 0xF0 is encountered when mapping Mac OS # Devanagari text, then the next byte should be examined. If there # is no next byte (e.g. 0xF0 at end of buffer), the mapping # process should indicate incomplete character. If there is a next # byte but it is not in the range 0xA1-0xEE, the mapping process # should indicate malformed text. Otherwise, the mapping process # should treat the byte pair as a valid two-byte code point with no # mapping (e.g. map it to QUESTION MARK, REPLACEMENT CHARACTER, # etc.). # # 2. Mapping the invisible consonant # # It has been suggested that INV in ISCII-91 should map to ZERO # WIDTH NON-JOINER in Unicode. However, this causes problems with # roundtrip fidelity: The ISCII-91 sequences 0xE8+0xE8 and 0xE8+0xD9 # would map to the same sequence of Unicode characters. We have # instead mapped INV to LEFT-TO-RIGHT MARK, which avoids these # problems. # # 3. Additional loose mappings from Unicode # # These are not preserved in roundtrip mappings. # # U+0958 0xB3+0xE9 # DEVANAGARI LETTER QA # U+0959 0xB4+0xE9 # DEVANAGARI LETTER KHHA # U+095A 0xB5+0xE9 # DEVANAGARI LETTER GHHA # U+095B 0xBA+0xE9 # DEVANAGARI LETTER ZA # U+095C 0xBF+0xE9 # DEVANAGARI LETTER DDDHA # U+095D 0xC0+0xE9 # DEVANAGARI LETTER RHA # U+095E 0xC9+0xE9 # DEVANAGARI LETTER FA # # Details of mapping changes in each version: # ------------------------------------------- # ################## # Section 1: Map the following byte pairs as indicated: # (ZWNJ means ZERO WIDTH NON-JOINER, ZWJ means ZERO WIDTH JOINER) # (Also see note about 0xF0 in comments above) 0xA1+0xE9 0x0950 # DEVANAGARI OM 0xA6+0xE9 0x090C # DEVANAGARI LETTER VOCALIC L 0xA7+0xE9 0x0961 # DEVANAGARI LETTER VOCALIC LL 0xAA+0xE9 0x0960 # DEVANAGARI LETTER VOCALIC RR 0xDB+0xE9 0x0962 # DEVANAGARI VOWEL SIGN VOCALIC L 0xDC+0xE9 0x0963 # DEVANAGARI VOWEL SIGN VOCALIC LL 0xDF+0xE9 0x0944 # DEVANAGARI VOWEL SIGN VOCALIC RR 0xE8+0xE8 0x094D+0x200C # DEVANAGARI SIGN VIRAMA + ZWNJ # explicit halant 0xE8+0xE9 0x094D+0x200D # DEVANAGARI SIGN VIRAMA + ZWJ # soft halant 0xEA+0xE9 0x093D # DEVANAGARI SIGN AVAGRAHA # Section 2: Map the remaining bytes as follows: 0x20 0x0020 # SPACE 0x21 0x0021 # EXCLAMATION MARK 0x22 0x0022 # QUOTATION MARK 0x23 0x0023 # NUMBER SIGN 0x24 0x0024 # DOLLAR SIGN 0x25 0x0025 # PERCENT SIGN 0x26 0x0026 # AMPERSAND 0x27 0x0027 # APOSTROPHE 0x28 0x0028 # LEFT PARENTHESIS 0x29 0x0029 # RIGHT PARENTHESIS 0x2A 0x002A # ASTERISK 0x2B 0x002B # PLUS SIGN 0x2C 0x002C # COMMA 0x2D 0x002D # HYPHEN-MINUS 0x2E 0x002E # FULL STOP 0x2F 0x002F # SOLIDUS 0x30 0x0030 # DIGIT ZERO 0x31 0x0031 # DIGIT ONE 0x32 0x0032 # DIGIT TWO 0x33 0x0033 # DIGIT THREE 0x34 0x0034 # DIGIT FOUR 0x35 0x0035 # DIGIT FIVE 0x36 0x0036 # DIGIT SIX 0x37 0x0037 # DIGIT SEVEN 0x38 0x0038 # DIGIT EIGHT 0x39 0x0039 # DIGIT NINE 0x3A 0x003A # COLON 0x3B 0x003B # SEMICOLON 0x3C 0x003C # LESS-THAN SIGN 0x3D 0x003D # EQUALS SIGN 0x3E 0x003E # GREATER-THAN SIGN 0x3F 0x003F # QUESTION MARK 0x40 0x0040 # COMMERCIAL AT 0x41 0x0041 # LATIN CAPITAL LETTER A 0x42 0x0042 # LATIN CAPITAL LETTER B 0x43 0x0043 # LATIN CAPITAL LETTER C 0x44 0x0044 # LATIN CAPITAL LETTER D 0x45 0x0045 # LATIN CAPITAL LETTER E 0x46 0x0046 # LATIN CAPITAL LETTER F 0x47 0x0047 # LATIN CAPITAL LETTER G 0x48 0x0048 # LATIN CAPITAL LETTER H 0x49 0x0049 # LATIN CAPITAL LETTER I 0x4A 0x004A # LATIN CAPITAL LETTER J 0x4B 0x004B # LATIN CAPITAL LETTER K 0x4C 0x004C # LATIN CAPITAL LETTER L 0x4D 0x004D # LATIN CAPITAL LETTER M 0x4E 0x004E # LA...
dzidziaz