1*ad30f8e7SGabor Kovesdan 2*ad30f8e7SGabor KovesdanTYPE ROWCOL 3*ad30f8e7SGabor KovesdanNAME UCS/GUJARATI 4*ad30f8e7SGabor KovesdanSRC_ZONE 0x0000-0xFFFF 5*ad30f8e7SGabor KovesdanOOB_MODE INVALID 6*ad30f8e7SGabor KovesdanDST_INVALID 0x100 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 Kovesdan0x0000 - 0x007F = 0x00 - 185*ad30f8e7SGabor Kovesdan0x00A9 = 0x88 186*ad30f8e7SGabor Kovesdan0x00AE = 0x89 187*ad30f8e7SGabor Kovesdan0x00D7 = 0x80 188*ad30f8e7SGabor Kovesdan0x0964 = 0xEA 189*ad30f8e7SGabor Kovesdan0x0965 = 0x90 190*ad30f8e7SGabor Kovesdan0x0A81 = 0xA1 191*ad30f8e7SGabor Kovesdan0x0A82 = 0xA2 192*ad30f8e7SGabor Kovesdan0x0A83 = 0xA3 193*ad30f8e7SGabor Kovesdan0x0A85 = 0xA4 194*ad30f8e7SGabor Kovesdan0x0A86 = 0xA5 195*ad30f8e7SGabor Kovesdan0x0A87 = 0xA6 196*ad30f8e7SGabor Kovesdan0x0A88 = 0xA7 197*ad30f8e7SGabor Kovesdan0x0A89 = 0xA8 198*ad30f8e7SGabor Kovesdan0x0A8A = 0xA9 199*ad30f8e7SGabor Kovesdan0x0A8B = 0xAA 200*ad30f8e7SGabor Kovesdan0x0A8D = 0xAE 201*ad30f8e7SGabor Kovesdan0x0A8F = 0xAC 202*ad30f8e7SGabor Kovesdan0x0A90 = 0xAD 203*ad30f8e7SGabor Kovesdan0x0A91 = 0xB2 204*ad30f8e7SGabor Kovesdan0x0A93 = 0xB0 205*ad30f8e7SGabor Kovesdan0x0A94 = 0xB1 206*ad30f8e7SGabor Kovesdan0x0A95 = 0xB3 207*ad30f8e7SGabor Kovesdan0x0A96 = 0xB4 208*ad30f8e7SGabor Kovesdan0x0A97 = 0xB5 209*ad30f8e7SGabor Kovesdan0x0A98 = 0xB6 210*ad30f8e7SGabor Kovesdan0x0A99 = 0xB7 211*ad30f8e7SGabor Kovesdan0x0A9A = 0xB8 212*ad30f8e7SGabor Kovesdan0x0A9B = 0xB9 213*ad30f8e7SGabor Kovesdan0x0A9C = 0xBA 214*ad30f8e7SGabor Kovesdan0x0A9D = 0xBB 215*ad30f8e7SGabor Kovesdan0x0A9E = 0xBC 216*ad30f8e7SGabor Kovesdan0x0A9F = 0xBD 217*ad30f8e7SGabor Kovesdan0x0AA0 = 0xBE 218*ad30f8e7SGabor Kovesdan0x0AA1 = 0xBF 219*ad30f8e7SGabor Kovesdan0x0AA2 = 0xC0 220*ad30f8e7SGabor Kovesdan0x0AA3 = 0xC1 221*ad30f8e7SGabor Kovesdan0x0AA4 = 0xC2 222*ad30f8e7SGabor Kovesdan0x0AA5 = 0xC3 223*ad30f8e7SGabor Kovesdan0x0AA6 = 0xC4 224*ad30f8e7SGabor Kovesdan0x0AA7 = 0xC5 225*ad30f8e7SGabor Kovesdan0x0AA8 = 0xC6 226*ad30f8e7SGabor Kovesdan0x0AAA = 0xC8 227*ad30f8e7SGabor Kovesdan0x0AAB = 0xC9 228*ad30f8e7SGabor Kovesdan0x0AAC = 0xCA 229*ad30f8e7SGabor Kovesdan0x0AAD = 0xCB 230*ad30f8e7SGabor Kovesdan0x0AAE = 0xCC 231*ad30f8e7SGabor Kovesdan0x0AAF = 0xCD 232*ad30f8e7SGabor Kovesdan0x0AB0 = 0xCF 233*ad30f8e7SGabor Kovesdan0x0AB2 = 0xD1 234*ad30f8e7SGabor Kovesdan0x0AB3 = 0xD2 235*ad30f8e7SGabor Kovesdan0x0AB5 = 0xD4 236*ad30f8e7SGabor Kovesdan0x0AB6 = 0xD5 237*ad30f8e7SGabor Kovesdan0x0AB7 = 0xD6 238*ad30f8e7SGabor Kovesdan0x0AB8 = 0xD7 239*ad30f8e7SGabor Kovesdan0x0AB9 = 0xD8 240*ad30f8e7SGabor Kovesdan0x0ABC = 0xE9 241*ad30f8e7SGabor Kovesdan0x0ABE = 0xDA 242*ad30f8e7SGabor Kovesdan0x0ABF = 0xDB 243*ad30f8e7SGabor Kovesdan0x0AC0 = 0xDC 244*ad30f8e7SGabor Kovesdan0x0AC1 = 0xDD 245*ad30f8e7SGabor Kovesdan0x0AC2 = 0xDE 246*ad30f8e7SGabor Kovesdan0x0AC3 = 0xDF 247*ad30f8e7SGabor Kovesdan#0x0AC4 = 0xDF+0xE9 248*ad30f8e7SGabor Kovesdan0x0AC5 = 0xE3 249*ad30f8e7SGabor Kovesdan0x0AC7 = 0xE1 250*ad30f8e7SGabor Kovesdan0x0AC8 = 0xE2 251*ad30f8e7SGabor Kovesdan0x0AC9 = 0xE7 252*ad30f8e7SGabor Kovesdan0x0ACB = 0xE5 253*ad30f8e7SGabor Kovesdan0x0ACC = 0xE6 254*ad30f8e7SGabor Kovesdan0x0ACD = 0xE8 255*ad30f8e7SGabor Kovesdan#0x0ACD+0x200C = 0xE8+0xE8 256*ad30f8e7SGabor Kovesdan#0x0ACD+0x200D = 0xE8+0xE9 257*ad30f8e7SGabor Kovesdan#0x0AD0 = 0xA1+0xE9 258*ad30f8e7SGabor Kovesdan#0x0AE0 = 0xAA+0xE9 259*ad30f8e7SGabor Kovesdan0x0AE6 = 0xF1 260*ad30f8e7SGabor Kovesdan0x0AE7 = 0xF2 261*ad30f8e7SGabor Kovesdan0x0AE8 = 0xF3 262*ad30f8e7SGabor Kovesdan0x0AE9 = 0xF4 263*ad30f8e7SGabor Kovesdan0x0AEA = 0xF5 264*ad30f8e7SGabor Kovesdan0x0AEB = 0xF6 265*ad30f8e7SGabor Kovesdan0x0AEC = 0xF7 266*ad30f8e7SGabor Kovesdan0x0AED = 0xF8 267*ad30f8e7SGabor Kovesdan0x0AEE = 0xF9 268*ad30f8e7SGabor Kovesdan0x0AEF = 0xFA 269*ad30f8e7SGabor Kovesdan0x200E = 0xD9 270*ad30f8e7SGabor Kovesdan0x2013 = 0x82 271*ad30f8e7SGabor Kovesdan0x2014 = 0x83 272*ad30f8e7SGabor Kovesdan0x2018 = 0x84 273*ad30f8e7SGabor Kovesdan0x2019 = 0x85 274*ad30f8e7SGabor Kovesdan0x2022 = 0x87 275*ad30f8e7SGabor Kovesdan0x2026 = 0x86 276*ad30f8e7SGabor Kovesdan0x2122 = 0x8A 277*ad30f8e7SGabor Kovesdan0x2212 = 0x81 278*ad30f8e7SGabor KovesdanEND_MAP 279