1*ad30f8e7SGabor Kovesdan 2*ad30f8e7SGabor KovesdanTYPE ROWCOL 3*ad30f8e7SGabor KovesdanNAME GUJARATI/UCS 4*ad30f8e7SGabor KovesdanSRC_ZONE 0x00-0xFA 5*ad30f8e7SGabor KovesdanOOB_MODE ILSEQ 6*ad30f8e7SGabor KovesdanDST_ILSEQ 0xFFFE 7*ad30f8e7SGabor KovesdanDST_UNIT_BITS 16 8*ad30f8e7SGabor Kovesdan#======================================================================= 9*ad30f8e7SGabor Kovesdan# File name: GUJARATI.TXT 10*ad30f8e7SGabor Kovesdan# 11*ad30f8e7SGabor Kovesdan# Contents: Map (external version) from Mac OS Gujarati 12*ad30f8e7SGabor Kovesdan# encoding to Unicode 2.1 and later. 13*ad30f8e7SGabor Kovesdan# 14*ad30f8e7SGabor Kovesdan# Copyright: (c) 1997-2002, 2005 by Apple Computer, Inc., all rights 15*ad30f8e7SGabor Kovesdan# reserved. 16*ad30f8e7SGabor Kovesdan# 17*ad30f8e7SGabor Kovesdan# Contact: charsets@apple.com 18*ad30f8e7SGabor Kovesdan# 19*ad30f8e7SGabor Kovesdan# Changes: 20*ad30f8e7SGabor Kovesdan# 21*ad30f8e7SGabor Kovesdan# c02 2005-Apr-05 Update header comments. Matches internal xml 22*ad30f8e7SGabor Kovesdan# <c1.1> and Text Encoding Converter 2.0. 23*ad30f8e7SGabor Kovesdan# b3,c1 2002-Dec-19 Update URLs. Matches internal utom<b1>. 24*ad30f8e7SGabor Kovesdan# b02 1999-Sep-22 Update contact e-mail address. Matches 25*ad30f8e7SGabor Kovesdan# internal utom<b1>, ufrm<b1>, and Text 26*ad30f8e7SGabor Kovesdan# Encoding Converter version 1.5. 27*ad30f8e7SGabor Kovesdan# n02 1998-Feb-05 First version; matches internal utom<n4>, 28*ad30f8e7SGabor Kovesdan# ufrm<n5>. 29*ad30f8e7SGabor Kovesdan# 30*ad30f8e7SGabor Kovesdan# Standard header: 31*ad30f8e7SGabor Kovesdan# ---------------- 32*ad30f8e7SGabor Kovesdan# 33*ad30f8e7SGabor Kovesdan# Apple, the Apple logo, and Macintosh are trademarks of Apple 34*ad30f8e7SGabor Kovesdan# Computer, Inc., registered in the United States and other countries. 35*ad30f8e7SGabor Kovesdan# Unicode is a trademark of Unicode Inc. For the sake of brevity, 36*ad30f8e7SGabor Kovesdan# throughout this document, "Macintosh" can be used to refer to 37*ad30f8e7SGabor Kovesdan# Macintosh computers and "Unicode" can be used to refer to the 38*ad30f8e7SGabor Kovesdan# Unicode standard. 39*ad30f8e7SGabor Kovesdan# 40*ad30f8e7SGabor Kovesdan# Apple Computer, Inc. ("Apple") makes no warranty or representation, 41*ad30f8e7SGabor Kovesdan# either express or implied, with respect to this document and the 42*ad30f8e7SGabor Kovesdan# included data, its quality, accuracy, or fitness for a particular 43*ad30f8e7SGabor Kovesdan# purpose. In no event will Apple be liable for direct, indirect, 44*ad30f8e7SGabor Kovesdan# special, incidental, or consequential damages resulting from any 45*ad30f8e7SGabor Kovesdan# defect or inaccuracy in this document or the included data. 46*ad30f8e7SGabor Kovesdan# 47*ad30f8e7SGabor Kovesdan# These mapping tables and character lists are subject to change. 48*ad30f8e7SGabor Kovesdan# The latest tables should be available from the following: 49*ad30f8e7SGabor Kovesdan# 50*ad30f8e7SGabor Kovesdan# <http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/> 51*ad30f8e7SGabor Kovesdan# 52*ad30f8e7SGabor Kovesdan# For general information about Mac OS encodings and these mapping 53*ad30f8e7SGabor Kovesdan# tables, see the file "README.TXT". 54*ad30f8e7SGabor Kovesdan# 55*ad30f8e7SGabor Kovesdan# Format: 56*ad30f8e7SGabor Kovesdan# ------- 57*ad30f8e7SGabor Kovesdan# 58*ad30f8e7SGabor Kovesdan# Three tab-separated columns; 59*ad30f8e7SGabor Kovesdan# '#' begins a comment which continues to the end of the line. 60*ad30f8e7SGabor Kovesdan# Column #1 is the Mac OS Gujarati code or code sequence 61*ad30f8e7SGabor Kovesdan# (in hex as 0xNN or 0xNN+0xNN) 62*ad30f8e7SGabor Kovesdan# Column #2 is the corresponding Unicode or Unicode sequence 63*ad30f8e7SGabor Kovesdan# (in hex as 0xNNNN or 0xNNNN+0xNNNN). 64*ad30f8e7SGabor Kovesdan# Column #3 is a comment containing the Unicode name or sequence 65*ad30f8e7SGabor Kovesdan# of names. In some cases an additional comment follows the 66*ad30f8e7SGabor Kovesdan# Unicode name(s). 67*ad30f8e7SGabor Kovesdan# 68*ad30f8e7SGabor Kovesdan# The entries are in two sections. The first section is for pairs of 69*ad30f8e7SGabor Kovesdan# Mac OS Gujarati code points that must be mapped in a special way. 70*ad30f8e7SGabor Kovesdan# The second section maps individual code points. 71*ad30f8e7SGabor Kovesdan# 72*ad30f8e7SGabor Kovesdan# Within each section, the entries are in Mac OS Gujarati code order. 73*ad30f8e7SGabor Kovesdan# 74*ad30f8e7SGabor Kovesdan# Control character mappings are not shown in this table, following 75*ad30f8e7SGabor Kovesdan# the conventions of the standard UTC mapping tables. However, the 76*ad30f8e7SGabor Kovesdan# Mac OS Gujarati character set uses the standard control characters 77*ad30f8e7SGabor Kovesdan# at 0x00-0x1F and 0x7F. 78*ad30f8e7SGabor Kovesdan# 79*ad30f8e7SGabor Kovesdan# Notes on Mac OS Gujarati: 80*ad30f8e7SGabor Kovesdan# ------------------------- 81*ad30f8e7SGabor Kovesdan# 82*ad30f8e7SGabor Kovesdan# This is a legacy Mac OS encoding; in the Mac OS X Carbon and Cocoa 83*ad30f8e7SGabor Kovesdan# environments, it is only supported via transcoding to and from 84*ad30f8e7SGabor Kovesdan# Unicode. 85*ad30f8e7SGabor Kovesdan# 86*ad30f8e7SGabor Kovesdan# Mac OS Gujarati is based on IS 13194:1991 (ISCII-91), with the 87*ad30f8e7SGabor Kovesdan# addition of several punctuation and symbol characters. However, 88*ad30f8e7SGabor Kovesdan# Mac OS Gujarati does not support the ATR (attribute) mechanism of 89*ad30f8e7SGabor Kovesdan# ISCII-91. 90*ad30f8e7SGabor Kovesdan# 91*ad30f8e7SGabor Kovesdan# 1. ISCII-91 features in Mac OS Gujarati include: 92*ad30f8e7SGabor Kovesdan# 93*ad30f8e7SGabor Kovesdan# a) Overloading of nukta 94*ad30f8e7SGabor Kovesdan# 95*ad30f8e7SGabor Kovesdan# In addition to using the nukta (0xE9) like a combining dot below, 96*ad30f8e7SGabor Kovesdan# nukta is overloaded to function as a general character modifier. 97*ad30f8e7SGabor Kovesdan# In this role, certain code points followed by 0xE9 are treated as 98*ad30f8e7SGabor Kovesdan# a two-byte code point representing a character which may be 99*ad30f8e7SGabor Kovesdan# rather different than the characters represented by either of 100*ad30f8e7SGabor Kovesdan# the code points alone. For example, the character GUJARATI OM 101*ad30f8e7SGabor Kovesdan# (U+0AD0) is represented in ISCII-91 as candrabindu + nukta. 102*ad30f8e7SGabor Kovesdan# 103*ad30f8e7SGabor Kovesdan# b) Explicit halant and soft halant 104*ad30f8e7SGabor Kovesdan# 105*ad30f8e7SGabor Kovesdan# A double halant (0xE8 + 0xE8) constitutes an "explicit halant", 106*ad30f8e7SGabor Kovesdan# which will always appear as a halant instead of causing formation 107*ad30f8e7SGabor Kovesdan# of a ligature or half-form consonant. 108*ad30f8e7SGabor Kovesdan# 109*ad30f8e7SGabor Kovesdan# Halant followed by nukta (0xE8 + 0xE9) constitutes a "soft 110*ad30f8e7SGabor Kovesdan# halant", which prevents formation of a ligature and instead 111*ad30f8e7SGabor Kovesdan# retains the half-form of the first consonant. 112*ad30f8e7SGabor Kovesdan# 113*ad30f8e7SGabor Kovesdan# c) Invisible consonant 114*ad30f8e7SGabor Kovesdan# 115*ad30f8e7SGabor Kovesdan# The byte 0xD9 (called INV in ISCII-91) is an invisible consonant: 116*ad30f8e7SGabor Kovesdan# It behaves like a consonant but has no visible appearance. It is 117*ad30f8e7SGabor Kovesdan# intended to be used (often in combination with halant) to display 118*ad30f8e7SGabor Kovesdan# dependent forms in isolation, such as the RA forms or consonant 119*ad30f8e7SGabor Kovesdan# half-forms. 120*ad30f8e7SGabor Kovesdan# 121*ad30f8e7SGabor Kovesdan# d) Extensions for Vedic, etc. 122*ad30f8e7SGabor Kovesdan# 123*ad30f8e7SGabor Kovesdan# The byte 0xF0 (called EXT in ISCII-91) followed by any byte in 124*ad30f8e7SGabor Kovesdan# the range 0xA1-0xEE constitutes a two-byte code point which can 125*ad30f8e7SGabor Kovesdan# be used to represent additional characters for Vedic (or other 126*ad30f8e7SGabor Kovesdan# extensions); 0xF0 followed by any other byte value constitutes 127*ad30f8e7SGabor Kovesdan# malformed text. Mac OS Gujarati supports this mechanism, but 128*ad30f8e7SGabor Kovesdan# does not currently map any of these two-byte code points to 129*ad30f8e7SGabor Kovesdan# anything. 130*ad30f8e7SGabor Kovesdan# 131*ad30f8e7SGabor Kovesdan# 2. Mac OS Gujarati additions 132*ad30f8e7SGabor Kovesdan# 133*ad30f8e7SGabor Kovesdan# Mac OS Gujarati adds characters using the code points 134*ad30f8e7SGabor Kovesdan# 0x80-0x8A and 0x90. 135*ad30f8e7SGabor Kovesdan# 136*ad30f8e7SGabor Kovesdan# 3. Unused code points 137*ad30f8e7SGabor Kovesdan# 138*ad30f8e7SGabor Kovesdan# The following code points are currently unused, and are not shown 139*ad30f8e7SGabor Kovesdan# here: 0x8B-0x8F, 0x91-0xA0, 0xAB, 0xAF, 0xC7, 0xCE, 0xD0, 0xD3, 140*ad30f8e7SGabor Kovesdan# 0xE0, 0xE4, 0xEB-0xEF, 0xFB-0xFF. In addition, 0xF0 is not shown 141*ad30f8e7SGabor Kovesdan# here, but it has a special function as described above. 142*ad30f8e7SGabor Kovesdan# 143*ad30f8e7SGabor Kovesdan# Unicode mapping issues and notes: 144*ad30f8e7SGabor Kovesdan# --------------------------------- 145*ad30f8e7SGabor Kovesdan# 146*ad30f8e7SGabor Kovesdan# 1. Mapping the byte pairs 147*ad30f8e7SGabor Kovesdan# 148*ad30f8e7SGabor Kovesdan# If one of the following byte values is encountered when mapping 149*ad30f8e7SGabor Kovesdan# Mac OS Gujarati text - xA1, xAA, xDF, or 0xE8 - then the next 150*ad30f8e7SGabor Kovesdan# byte (if there is one) should be examined. If the next byte is 151*ad30f8e7SGabor Kovesdan# 0xE9 - or also 0xE8, if the first byte was 0xE8 - then the byte 152*ad30f8e7SGabor Kovesdan# pair should be mapped using the first section of the mapping 153*ad30f8e7SGabor Kovesdan# table below. Otherwise, each byte should be mapped using the 154*ad30f8e7SGabor Kovesdan# second section of the mapping table below. 155*ad30f8e7SGabor Kovesdan# 156*ad30f8e7SGabor Kovesdan# - The Unicode Standard, Version 2.0, specifies how explicit 157*ad30f8e7SGabor Kovesdan# halant and soft halant should be represented in Unicode; 158*ad30f8e7SGabor Kovesdan# these mappings are used below. 159*ad30f8e7SGabor Kovesdan# 160*ad30f8e7SGabor Kovesdan# If the byte value 0xF0 is encountered when mapping Mac OS 161*ad30f8e7SGabor Kovesdan# Gujarati text, then the next byte should be examined. If there 162*ad30f8e7SGabor Kovesdan# is no next byte (e.g. 0xF0 at end of buffer), the mapping 163*ad30f8e7SGabor Kovesdan# process should indicate incomplete character. If there is a next 164*ad30f8e7SGabor Kovesdan# byte but it is not in the range 0xA1-0xEE, the mapping process 165*ad30f8e7SGabor Kovesdan# should indicate malformed text. Otherwise, the mapping process 166*ad30f8e7SGabor Kovesdan# should treat the byte pair as a valid two-byte code point with no 167*ad30f8e7SGabor Kovesdan# mapping (e.g. map it to QUESTION MARK, REPLACEMENT CHARACTER, 168*ad30f8e7SGabor Kovesdan# etc.). 169*ad30f8e7SGabor Kovesdan# 170*ad30f8e7SGabor Kovesdan# 2. Mapping the invisible consonant 171*ad30f8e7SGabor Kovesdan# 172*ad30f8e7SGabor Kovesdan# It has been suggested that INV in ISCII-91 should map to ZERO 173*ad30f8e7SGabor Kovesdan# WIDTH NON-JOINER in Unicode. However, this causes problems with 174*ad30f8e7SGabor Kovesdan# roundtrip fidelity: The ISCII-91 sequences 0xE8+0xE8 and 0xE8+0xD9 175*ad30f8e7SGabor Kovesdan# would map to the same sequence of Unicode characters. We have 176*ad30f8e7SGabor Kovesdan# instead mapped INV to LEFT-TO-RIGHT MARK, which avoids these 177*ad30f8e7SGabor Kovesdan# problems. 178*ad30f8e7SGabor Kovesdan# 179*ad30f8e7SGabor Kovesdan# Details of mapping changes in each version: 180*ad30f8e7SGabor Kovesdan# ------------------------------------------- 181*ad30f8e7SGabor Kovesdan# 182*ad30f8e7SGabor Kovesdan################## 183*ad30f8e7SGabor KovesdanBEGIN_MAP 184*ad30f8e7SGabor Kovesdan0x00 - 0x7F = 0x0000 - 185*ad30f8e7SGabor Kovesdan0x80 = 0x00D7 186*ad30f8e7SGabor Kovesdan0x81 = 0x2212 187*ad30f8e7SGabor Kovesdan0x82 = 0x2013 188*ad30f8e7SGabor Kovesdan0x83 = 0x2014 189*ad30f8e7SGabor Kovesdan0x84 = 0x2018 190*ad30f8e7SGabor Kovesdan0x85 = 0x2019 191*ad30f8e7SGabor Kovesdan0x86 = 0x2026 192*ad30f8e7SGabor Kovesdan0x87 = 0x2022 193*ad30f8e7SGabor Kovesdan0x88 = 0x00A9 194*ad30f8e7SGabor Kovesdan0x89 = 0x00AE 195*ad30f8e7SGabor Kovesdan0x8A = 0x2122 196*ad30f8e7SGabor Kovesdan0x90 = 0x0965 197*ad30f8e7SGabor Kovesdan0xA1 = 0x0A81 198*ad30f8e7SGabor Kovesdan#0xA1+0xE9 = 0x0AD0 199*ad30f8e7SGabor Kovesdan0xA2 = 0x0A82 200*ad30f8e7SGabor Kovesdan0xA3 = 0x0A83 201*ad30f8e7SGabor Kovesdan0xA4 = 0x0A85 202*ad30f8e7SGabor Kovesdan0xA5 = 0x0A86 203*ad30f8e7SGabor Kovesdan0xA6 = 0x0A87 204*ad30f8e7SGabor Kovesdan0xA7 = 0x0A88 205*ad30f8e7SGabor Kovesdan0xA8 = 0x0A89 206*ad30f8e7SGabor Kovesdan0xA9 = 0x0A8A 207*ad30f8e7SGabor Kovesdan0xAA = 0x0A8B 208*ad30f8e7SGabor Kovesdan#0xAA+0xE9 = 0x0AE0 209*ad30f8e7SGabor Kovesdan0xAC = 0x0A8F 210*ad30f8e7SGabor Kovesdan0xAD = 0x0A90 211*ad30f8e7SGabor Kovesdan0xAE = 0x0A8D 212*ad30f8e7SGabor Kovesdan0xB0 = 0x0A93 213*ad30f8e7SGabor Kovesdan0xB1 = 0x0A94 214*ad30f8e7SGabor Kovesdan0xB2 = 0x0A91 215*ad30f8e7SGabor Kovesdan0xB3 = 0x0A95 216*ad30f8e7SGabor Kovesdan0xB4 = 0x0A96 217*ad30f8e7SGabor Kovesdan0xB5 = 0x0A97 218*ad30f8e7SGabor Kovesdan0xB6 = 0x0A98 219*ad30f8e7SGabor Kovesdan0xB7 = 0x0A99 220*ad30f8e7SGabor Kovesdan0xB8 = 0x0A9A 221*ad30f8e7SGabor Kovesdan0xB9 = 0x0A9B 222*ad30f8e7SGabor Kovesdan0xBA = 0x0A9C 223*ad30f8e7SGabor Kovesdan0xBB = 0x0A9D 224*ad30f8e7SGabor Kovesdan0xBC = 0x0A9E 225*ad30f8e7SGabor Kovesdan0xBD = 0x0A9F 226*ad30f8e7SGabor Kovesdan0xBE = 0x0AA0 227*ad30f8e7SGabor Kovesdan0xBF = 0x0AA1 228*ad30f8e7SGabor Kovesdan0xC0 = 0x0AA2 229*ad30f8e7SGabor Kovesdan0xC1 = 0x0AA3 230*ad30f8e7SGabor Kovesdan0xC2 = 0x0AA4 231*ad30f8e7SGabor Kovesdan0xC3 = 0x0AA5 232*ad30f8e7SGabor Kovesdan0xC4 = 0x0AA6 233*ad30f8e7SGabor Kovesdan0xC5 = 0x0AA7 234*ad30f8e7SGabor Kovesdan0xC6 = 0x0AA8 235*ad30f8e7SGabor Kovesdan0xC8 = 0x0AAA 236*ad30f8e7SGabor Kovesdan0xC9 = 0x0AAB 237*ad30f8e7SGabor Kovesdan0xCA = 0x0AAC 238*ad30f8e7SGabor Kovesdan0xCB = 0x0AAD 239*ad30f8e7SGabor Kovesdan0xCC = 0x0AAE 240*ad30f8e7SGabor Kovesdan0xCD = 0x0AAF 241*ad30f8e7SGabor Kovesdan0xCF = 0x0AB0 242*ad30f8e7SGabor Kovesdan0xD1 = 0x0AB2 243*ad30f8e7SGabor Kovesdan0xD2 = 0x0AB3 244*ad30f8e7SGabor Kovesdan0xD4 = 0x0AB5 245*ad30f8e7SGabor Kovesdan0xD5 = 0x0AB6 246*ad30f8e7SGabor Kovesdan0xD6 = 0x0AB7 247*ad30f8e7SGabor Kovesdan0xD7 = 0x0AB8 248*ad30f8e7SGabor Kovesdan0xD8 = 0x0AB9 249*ad30f8e7SGabor Kovesdan0xD9 = 0x200E 250*ad30f8e7SGabor Kovesdan0xDA = 0x0ABE 251*ad30f8e7SGabor Kovesdan0xDB = 0x0ABF 252*ad30f8e7SGabor Kovesdan0xDC = 0x0AC0 253*ad30f8e7SGabor Kovesdan0xDD = 0x0AC1 254*ad30f8e7SGabor Kovesdan0xDE = 0x0AC2 255*ad30f8e7SGabor Kovesdan0xDF = 0x0AC3 256*ad30f8e7SGabor Kovesdan#0xDF+0xE9 = 0x0AC4 257*ad30f8e7SGabor Kovesdan0xE1 = 0x0AC7 258*ad30f8e7SGabor Kovesdan0xE2 = 0x0AC8 259*ad30f8e7SGabor Kovesdan0xE3 = 0x0AC5 260*ad30f8e7SGabor Kovesdan0xE5 = 0x0ACB 261*ad30f8e7SGabor Kovesdan0xE6 = 0x0ACC 262*ad30f8e7SGabor Kovesdan0xE7 = 0x0AC9 263*ad30f8e7SGabor Kovesdan0xE8 = 0x0ACD 264*ad30f8e7SGabor Kovesdan#0xE8+0xE8 = 0x0ACD+0x200C 265*ad30f8e7SGabor Kovesdan#0xE8+0xE9 = 0x0ACD+0x200D 266*ad30f8e7SGabor Kovesdan0xE9 = 0x0ABC 267*ad30f8e7SGabor Kovesdan0xEA = 0x0964 268*ad30f8e7SGabor Kovesdan0xF1 = 0x0AE6 269*ad30f8e7SGabor Kovesdan0xF2 = 0x0AE7 270*ad30f8e7SGabor Kovesdan0xF3 = 0x0AE8 271*ad30f8e7SGabor Kovesdan0xF4 = 0x0AE9 272*ad30f8e7SGabor Kovesdan0xF5 = 0x0AEA 273*ad30f8e7SGabor Kovesdan0xF6 = 0x0AEB 274*ad30f8e7SGabor Kovesdan0xF7 = 0x0AEC 275*ad30f8e7SGabor Kovesdan0xF8 = 0x0AED 276*ad30f8e7SGabor Kovesdan0xF9 = 0x0AEE 277*ad30f8e7SGabor Kovesdan0xFA = 0x0AEF 278*ad30f8e7SGabor KovesdanEND_MAP 279