1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. 24 */ 25/* 26 * ICU License - ICU 1.8.1 and later 27 * 28 * COPYRIGHT AND PERMISSION NOTICE 29 * 30 * Copyright (c) 1995-2005 International Business Machines Corporation and others 31 * All rights reserved. 32 * 33 * Permission is hereby granted, free of charge, to any person obtaining a 34 * copy of this software and associated documentation files (the 35 * "Software"), to deal in the Software without restriction, including 36 * without limitation the rights to use, copy, modify, merge, publish, 37 * distribute, and/or sell copies of the Software, and to permit persons 38 * to whom the Software is furnished to do so, provided that the above 39 * copyright notice(s) and this permission notice appear in all copies of 40 * the Software and that both the above copyright notice(s) and this 41 * permission notice appear in supporting documentation. 42 * 43 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 44 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 45 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 46 * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 47 * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 48 * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 49 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 50 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 51 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 52 * 53 * Except as contained in this notice, the name of a copyright holder 54 * shall not be used in advertising or otherwise to promote the sale, use 55 * or other dealings in this Software without prior written authorization 56 * of the copyright holder. 57 * 58 * -------------------------------------------------------------------------- 59 * All trademarks and registered trademarks mentioned herein are the property 60 * of their respective owners. 61 */ 62 63system%utf8 { 64 direction { 65 @condition { 66 @between 0X0...0X7F; 67 } @map { 68 0x00 0x00 // U+0000 69 0x01 0x01 // U+0001 70 0x02 0x02 // U+0002 71 0x03 0x03 // U+0003 72 0x04 0x04 // U+0004 73 0x05 0x05 // U+0005 74 0x06 0x06 // U+0006 75 0x07 0x07 // U+0007 76 0x08 0x08 // U+0008 77 0x09 0x09 // U+0009 78 0x0A 0x0A // U+000A 79 0x0B 0x0B // U+000B 80 0x0C 0x0C // U+000C 81 0x0D 0x0D // U+000D 82 0x0E 0x0E // U+000E 83 0x0F 0x0F // U+000F 84 0x10 0x10 // U+0010 85 0x11 0x11 // U+0011 86 0x12 0x12 // U+0012 87 0x13 0x13 // U+0013 88 0x14 0x14 // U+0014 89 0x15 0x15 // U+0015 90 0x16 0x16 // U+0016 91 0x17 0x17 // U+0017 92 0x18 0x18 // U+0018 93 0x19 0x19 // U+0019 94 0x1A 0x1A // U+001A 95 0x1B 0x1B // U+001B 96 0x1C 0x1C // U+001C 97 0x1D 0x1D // U+001D 98 0x1E 0x1E // U+001E 99 0x1F 0x1F // U+001F 100 0x20 0x20 // U+0020 101 0x21 0x21 // U+0021 102 0x22 0x22 // U+0022 103 0x23 0x23 // U+0023 104 0x24 0x24 // U+0024 105 0x25 0x25 // U+0025 106 0x26 0x26 // U+0026 107 0x27 0x27 // U+0027 108 0x28 0x28 // U+0028 109 0x29 0x29 // U+0029 110 0x2A 0x2A // U+002A 111 0x2B 0x2B // U+002B 112 0x2C 0x2C // U+002C 113 0x2D 0x2D // U+002D 114 0x2E 0x2E // U+002E 115 0x2F 0x2F // U+002F 116 0x30 0x30 // U+0030 117 0x31 0x31 // U+0031 118 0x32 0x32 // U+0032 119 0x33 0x33 // U+0033 120 0x34 0x34 // U+0034 121 0x35 0x35 // U+0035 122 0x36 0x36 // U+0036 123 0x37 0x37 // U+0037 124 0x38 0x38 // U+0038 125 0x39 0x39 // U+0039 126 0x3A 0x3A // U+003A 127 0x3B 0x3B // U+003B 128 0x3C 0x3C // U+003C 129 0x3D 0x3D // U+003D 130 0x3E 0x3E // U+003E 131 0x3F 0x3F // U+003F 132 0x40 0x40 // U+0040 133 0x41 0x41 // U+0041 134 0x42 0x42 // U+0042 135 0x43 0x43 // U+0043 136 0x44 0x44 // U+0044 137 0x45 0x45 // U+0045 138 0x46 0x46 // U+0046 139 0x47 0x47 // U+0047 140 0x48 0x48 // U+0048 141 0x49 0x49 // U+0049 142 0x4A 0x4A // U+004A 143 0x4B 0x4B // U+004B 144 0x4C 0x4C // U+004C 145 0x4D 0x4D // U+004D 146 0x4E 0x4E // U+004E 147 0x4F 0x4F // U+004F 148 0x50 0x50 // U+0050 149 0x51 0x51 // U+0051 150 0x52 0x52 // U+0052 151 0x53 0x53 // U+0053 152 0x54 0x54 // U+0054 153 0x55 0x55 // U+0055 154 0x56 0x56 // U+0056 155 0x57 0x57 // U+0057 156 0x58 0x58 // U+0058 157 0x59 0x59 // U+0059 158 0x5A 0x5A // U+005A 159 0x5B 0x5B // U+005B 160 0x5C 0x5C // U+005C 161 0x5D 0x5D // U+005D 162 0x5E 0x5E // U+005E 163 0x5F 0x5F // U+005F 164 0x60 0x60 // U+0060 165 0x61 0x61 // U+0061 166 0x62 0x62 // U+0062 167 0x63 0x63 // U+0063 168 0x64 0x64 // U+0064 169 0x65 0x65 // U+0065 170 0x66 0x66 // U+0066 171 0x67 0x67 // U+0067 172 0x68 0x68 // U+0068 173 0x69 0x69 // U+0069 174 0x6A 0x6A // U+006A 175 0x6B 0x6B // U+006B 176 0x6C 0x6C // U+006C 177 0x6D 0x6D // U+006D 178 0x6E 0x6E // U+006E 179 0x6F 0x6F // U+006F 180 0x70 0x70 // U+0070 181 0x71 0x71 // U+0071 182 0x72 0x72 // U+0072 183 0x73 0x73 // U+0073 184 0x74 0x74 // U+0074 185 0x75 0x75 // U+0075 186 0x76 0x76 // U+0076 187 0x77 0x77 // U+0077 188 0x78 0x78 // U+0078 189 0x79 0x79 // U+0079 190 0x7A 0x7A // U+007A 191 0x7B 0x7B // U+007B 192 0x7C 0x7C // U+007C 193 0x7D 0x7D // U+007D 194 0x7E 0x7E // U+007E 195 0x7F 0x7F // U+007F 196 }; 197 @condition { 198 @between 0X80...0XA0; 199 } @map { 200 0x80 0xC280 // U+0080 201 0x81 0xC281 // U+0081 202 0x82 0xC282 // U+0082 203 0x83 0xC283 // U+0083 204 0x84 0xC284 // U+0084 205 0x85 0xC285 // U+0085 206 0x86 0xC286 // U+0086 207 0x87 0xC287 // U+0087 208 0x88 0xC288 // U+0088 209 0x89 0xC289 // U+0089 210 0x8A 0xC28A // U+008A 211 0x8B 0xC28B // U+008B 212 0x8C 0xC28C // U+008C 213 0x8D 0xC28D // U+008D 214 0x8E 0xC28E // U+008E 215 0x8F 0xC28F // U+008F 216 0x90 0xC290 // U+0090 217 0x91 0xC291 // U+0091 218 0x92 0xC292 // U+0092 219 0x93 0xC293 // U+0093 220 0x94 0xC294 // U+0094 221 0x95 0xC295 // U+0095 222 0x96 0xC296 // U+0096 223 0x97 0xC297 // U+0097 224 0x98 0xC298 // U+0098 225 0x99 0xC299 // U+0099 226 0x9A 0xC29A // U+009A 227 0x9B 0xC29B // U+009B 228 0x9C 0xC29C // U+009C 229 0x9D 0xC29D // U+009D 230 0x9E 0xC29E // U+009E 231 0x9F 0xC29F // U+009F 232 0xA0 0xC2A0 // U+00A0 233 }; 234 @condition { 235 @between 0XA1...0XA1; 236 } @map { 237 0xA1 0xE2809D // U+201D 238 }; 239 @condition { 240 @between 0XA2...0XA4; 241 } @map { 242 0xA2 0xC2A2 // U+00A2 243 0xA3 0xC2A3 // U+00A3 244 0xA4 0xC2A4 // U+00A4 245 }; 246 @condition { 247 @between 0XA5...0XA5; 248 } @map { 249 0xA5 0xE2809E // U+201E 250 }; 251 @condition { 252 @between 0XA6...0XB3; 253 } @map { 254 0xA6 0xC2A6 // U+00A6 255 0xA7 0xC2A7 // U+00A7 256 0xA8 0xC398 // U+00D8 257 0xA9 0xC2A9 // U+00A9 258 0xAA 0xC596 // U+0156 259 0xAB 0xC2AB // U+00AB 260 0xAC 0xC2AC // U+00AC 261 0xAD 0xC2AD // U+00AD 262 0xAE 0xC2AE // U+00AE 263 0xAF 0xC386 // U+00C6 264 0xB0 0xC2B0 // U+00B0 265 0xB1 0xC2B1 // U+00B1 266 0xB2 0xC2B2 // U+00B2 267 0xB3 0xC2B3 // U+00B3 268 }; 269 @condition { 270 @between 0XB4...0XB4; 271 } @map { 272 0xB4 0xE2809C // U+201C 273 }; 274 @condition { 275 @between 0XB5...0XFE; 276 } @map { 277 0xB5 0xC2B5 // U+00B5 278 0xB6 0xC2B6 // U+00B6 279 0xB7 0xC2B7 // U+00B7 280 0xB8 0xC3B8 // U+00F8 281 0xB9 0xC2B9 // U+00B9 282 0xBA 0xC597 // U+0157 283 0xBB 0xC2BB // U+00BB 284 0xBC 0xC2BC // U+00BC 285 0xBD 0xC2BD // U+00BD 286 0xBE 0xC2BE // U+00BE 287 0xBF 0xC3A6 // U+00E6 288 0xC0 0xC484 // U+0104 289 0xC1 0xC4AE // U+012E 290 0xC2 0xC480 // U+0100 291 0xC3 0xC486 // U+0106 292 0xC4 0xC384 // U+00C4 293 0xC5 0xC385 // U+00C5 294 0xC6 0xC498 // U+0118 295 0xC7 0xC492 // U+0112 296 0xC8 0xC48C // U+010C 297 0xC9 0xC389 // U+00C9 298 0xCA 0xC5B9 // U+0179 299 0xCB 0xC496 // U+0116 300 0xCC 0xC4A2 // U+0122 301 0xCD 0xC4B6 // U+0136 302 0xCE 0xC4AA // U+012A 303 0xCF 0xC4BB // U+013B 304 0xD0 0xC5A0 // U+0160 305 0xD1 0xC583 // U+0143 306 0xD2 0xC585 // U+0145 307 0xD3 0xC393 // U+00D3 308 0xD4 0xC58C // U+014C 309 0xD5 0xC395 // U+00D5 310 0xD6 0xC396 // U+00D6 311 0xD7 0xC397 // U+00D7 312 0xD8 0xC5B2 // U+0172 313 0xD9 0xC581 // U+0141 314 0xDA 0xC59A // U+015A 315 0xDB 0xC5AA // U+016A 316 0xDC 0xC39C // U+00DC 317 0xDD 0xC5BB // U+017B 318 0xDE 0xC5BD // U+017D 319 0xDF 0xC39F // U+00DF 320 0xE0 0xC485 // U+0105 321 0xE1 0xC4AF // U+012F 322 0xE2 0xC481 // U+0101 323 0xE3 0xC487 // U+0107 324 0xE4 0xC3A4 // U+00E4 325 0xE5 0xC3A5 // U+00E5 326 0xE6 0xC499 // U+0119 327 0xE7 0xC493 // U+0113 328 0xE8 0xC48D // U+010D 329 0xE9 0xC3A9 // U+00E9 330 0xEA 0xC5BA // U+017A 331 0xEB 0xC497 // U+0117 332 0xEC 0xC4A3 // U+0123 333 0xED 0xC4B7 // U+0137 334 0xEE 0xC4AB // U+012B 335 0xEF 0xC4BC // U+013C 336 0xF0 0xC5A1 // U+0161 337 0xF1 0xC584 // U+0144 338 0xF2 0xC586 // U+0146 339 0xF3 0xC3B3 // U+00F3 340 0xF4 0xC58D // U+014D 341 0xF5 0xC3B5 // U+00F5 342 0xF6 0xC3B6 // U+00F6 343 0xF7 0xC3B7 // U+00F7 344 0xF8 0xC5B3 // U+0173 345 0xF9 0xC582 // U+0142 346 0xFA 0xC59B // U+015B 347 0xFB 0xC5AB // U+016B 348 0xFC 0xC3BC // U+00FC 349 0xFD 0xC5BC // U+017C 350 0xFE 0xC5BE // U+017E 351 }; 352 @condition { 353 @between 0XFF...0XFF; 354 } @map { 355 0xFF 0xE28099 // U+2019 356 }; // for last @map syntax 357 }; // for direction 358} // for conversion name 359