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 * ICU License - ICU 1.8.1 and later 23 * 24 * COPYRIGHT AND PERMISSION NOTICE 25 * 26 * Copyright (c) 1995-2005 International Business Machines Corporation and others 27 * All rights reserved. 28 * 29 * Permission is hereby granted, free of charge, to any person obtaining a 30 * copy of this software and associated documentation files (the 31 * "Software"), to deal in the Software without restriction, including 32 * without limitation the rights to use, copy, modify, merge, publish, 33 * distribute, and/or sell copies of the Software, and to permit persons 34 * to whom the Software is furnished to do so, provided that the above 35 * copyright notice(s) and this permission notice appear in all copies of 36 * the Software and that both the above copyright notice(s) and this 37 * permission notice appear in supporting documentation. 38 * 39 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 40 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 41 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 42 * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 43 * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 44 * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 45 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 46 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 47 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 48 * 49 * Except as contained in this notice, the name of a copyright holder 50 * shall not be used in advertising or otherwise to promote the sale, use 51 * or other dealings in this Software without prior written authorization 52 * of the copyright holder. 53 * 54 * -------------------------------------------------------------------------- 55 * All trademarks and registered trademarks mentioned herein are the property 56 * of their respective owners. 57 */ 58// 59// Copyright (c) 1999-2000 by Sun Microsystems, Inc. 60// All rights reserved. 61// 62// 63// This file orginally came from IBM-277+UTF-8.src. The only significant 64// change made is the replacement of mapping of International Currency 65// Symbol to euro symbol. 66// 67 68 69IBM-1142%UTF-8 { 70 direction { 71 condition { 72 between 0x0...0x3; 73 } map { 74 0x00 0x00 // U+0000 75 0x01 0x01 // U+0001 76 0x02 0x02 // U+0002 77 0x03 0x03 // U+0003 78 }; 79 condition { 80 between 0x4...0x4; 81 } map { 82 0x04 0xC29C // U+009C 83 }; 84 condition { 85 between 0x5...0x5; 86 } map { 87 0x05 0x09 // U+0009 88 }; 89 condition { 90 between 0x6...0x6; 91 } map { 92 0x06 0xC286 // U+0086 93 }; 94 condition { 95 between 0x7...0x7; 96 } map { 97 0x07 0x7F // U+007F 98 }; 99 condition { 100 between 0x8...0xA; 101 } map { 102 0x08 0xC297 // U+0097 103 0x09 0xC28D // U+008D 104 0x0A 0xC28E // U+008E 105 }; 106 condition { 107 between 0xB...0x13; 108 } map { 109 0x0B 0x0B // U+000B 110 0x0C 0x0C // U+000C 111 0x0D 0x0D // U+000D 112 0x0E 0x0E // U+000E 113 0x0F 0x0F // U+000F 114 0x10 0x10 // U+0010 115 0x11 0x11 // U+0011 116 0x12 0x12 // U+0012 117 0x13 0x13 // U+0013 118 }; 119 condition { 120 between 0x14...0x15; 121 } map { 122 0x14 0xC29D // U+009D 123 0x15 0xC285 // U+0085 124 }; 125 condition { 126 between 0x16...0x16; 127 } map { 128 0x16 0x08 // U+0008 129 }; 130 condition { 131 between 0x17...0x17; 132 } map { 133 0x17 0xC287 // U+0087 134 }; 135 condition { 136 between 0x18...0x19; 137 } map { 138 0x18 0x18 // U+0018 139 0x19 0x19 // U+0019 140 }; 141 condition { 142 between 0x1A...0x1B; 143 } map { 144 0x1A 0xC292 // U+0092 145 0x1B 0xC28F // U+008F 146 }; 147 condition { 148 between 0x1C...0x1F; 149 } map { 150 0x1C 0x1C // U+001C 151 0x1D 0x1D // U+001D 152 0x1E 0x1E // U+001E 153 0x1F 0x1F // U+001F 154 }; 155 condition { 156 between 0x20...0x24; 157 } map { 158 0x20 0xC280 // U+0080 159 0x21 0xC281 // U+0081 160 0x22 0xC282 // U+0082 161 0x23 0xC283 // U+0083 162 0x24 0xC284 // U+0084 163 }; 164 condition { 165 between 0x25...0x27; 166 } map { 167 0x25 0x0A // U+000A 168 0x26 0x17 // U+0017 169 0x27 0x1B // U+001B 170 }; 171 condition { 172 between 0x28...0x2C; 173 } map { 174 0x28 0xC288 // U+0088 175 0x29 0xC289 // U+0089 176 0x2A 0xC28A // U+008A 177 0x2B 0xC28B // U+008B 178 0x2C 0xC28C // U+008C 179 }; 180 condition { 181 between 0x2D...0x2F; 182 } map { 183 0x2D 0x05 // U+0005 184 0x2E 0x06 // U+0006 185 0x2F 0x07 // U+0007 186 }; 187 condition { 188 between 0x30...0x31; 189 } map { 190 0x30 0xC290 // U+0090 191 0x31 0xC291 // U+0091 192 }; 193 condition { 194 between 0x32...0x32; 195 } map { 196 0x32 0x16 // U+0016 197 }; 198 condition { 199 between 0x33...0x36; 200 } map { 201 0x33 0xC293 // U+0093 202 0x34 0xC294 // U+0094 203 0x35 0xC295 // U+0095 204 0x36 0xC296 // U+0096 205 }; 206 condition { 207 between 0x37...0x37; 208 } map { 209 0x37 0x04 // U+0004 210 }; 211 condition { 212 between 0x38...0x3B; 213 } map { 214 0x38 0xC298 // U+0098 215 0x39 0xC299 // U+0099 216 0x3A 0xC29A // U+009A 217 0x3B 0xC29B // U+009B 218 }; 219 condition { 220 between 0x3C...0x3D; 221 } map { 222 0x3C 0x14 // U+0014 223 0x3D 0x15 // U+0015 224 }; 225 condition { 226 between 0x3E...0x3E; 227 } map { 228 0x3E 0xC29E // U+009E 229 }; 230 condition { 231 between 0x3F...0x40; 232 } map { 233 0x3F 0x1A // U+001A 234 0x40 0x20 // U+0020 235 }; 236 condition { 237 between 0x41...0x46; 238 } map { 239 0x41 0xC2A0 // U+00A0 240 0x42 0xC3A2 // U+00E2 241 0x43 0xC3A4 // U+00E4 242 0x44 0xC3A0 // U+00E0 243 0x45 0xC3A1 // U+00E1 244 0x46 0xC3A3 // U+00E3 245 }; 246 condition { 247 between 0x47...0x47; 248 } map { 249 0x47 0x7D // U+007D 250 }; 251 condition { 252 between 0x48...0x49; 253 } map { 254 0x48 0xC3A7 // U+00E7 255 0x49 0xC3B1 // U+00F1 256 }; 257 condition { 258 between 0x4A...0x50; 259 } map { 260 0x4A 0x23 // U+0023 261 0x4B 0x2E // U+002E 262 0x4C 0x3C // U+003C 263 0x4D 0x28 // U+0028 264 0x4E 0x2B // U+002B 265 0x4F 0x21 // U+0021 266 0x50 0x26 // U+0026 267 }; 268 condition { 269 between 0x51...0x59; 270 } map { 271 0x51 0xC3A9 // U+00E9 272 0x52 0xC3AA // U+00EA 273 0x53 0xC3AB // U+00EB 274 0x54 0xC3A8 // U+00E8 275 0x55 0xC3AD // U+00ED 276 0x56 0xC3AE // U+00EE 277 0x57 0xC3AF // U+00EF 278 0x58 0xC3AC // U+00EC 279 0x59 0xC39F // U+00DF 280 }; 281 condition { 282 between 0x5a...0x5a; 283 } map { 284 0x5A 0xe282ac // U+20AC 285 }; 286 condition { 287 between 0x5b...0x5b; 288 } map { 289 0x5B 0xC385 // U+00C5 290 }; 291 condition { 292 between 0x5C...0x61; 293 } map { 294 0x5C 0x2A // U+002A 295 0x5D 0x29 // U+0029 296 0x5E 0x3B // U+003B 297 0x5F 0x5E // U+005E 298 0x60 0x2D // U+002D 299 0x61 0x2F // U+002F 300 }; 301 condition { 302 between 0x62...0x66; 303 } map { 304 0x62 0xC382 // U+00C2 305 0x63 0xC384 // U+00C4 306 0x64 0xC380 // U+00C0 307 0x65 0xC381 // U+00C1 308 0x66 0xC383 // U+00C3 309 }; 310 condition { 311 between 0x67...0x67; 312 } map { 313 0x67 0x24 // U+0024 314 }; 315 condition { 316 between 0x68...0x6A; 317 } map { 318 0x68 0xC387 // U+00C7 319 0x69 0xC391 // U+00D1 320 0x6A 0xC3B8 // U+00F8 321 }; 322 condition { 323 between 0x6B...0x6F; 324 } map { 325 0x6B 0x2C // U+002C 326 0x6C 0x25 // U+0025 327 0x6D 0x5F // U+005F 328 0x6E 0x3E // U+003E 329 0x6F 0x3F // U+003F 330 }; 331 condition { 332 between 0x70...0x78; 333 } map { 334 0x70 0xC2A6 // U+00A6 335 0x71 0xC389 // U+00C9 336 0x72 0xC38A // U+00CA 337 0x73 0xC38B // U+00CB 338 0x74 0xC388 // U+00C8 339 0x75 0xC38D // U+00CD 340 0x76 0xC38E // U+00CE 341 0x77 0xC38F // U+00CF 342 0x78 0xC38C // U+00CC 343 }; 344 condition { 345 between 0x79...0x7A; 346 } map { 347 0x79 0x60 // U+0060 348 0x7A 0x3A // U+003A 349 }; 350 condition { 351 between 0x7B...0x7C; 352 } map { 353 0x7B 0xC386 // U+00C6 354 0x7C 0xC398 // U+00D8 355 }; 356 condition { 357 between 0x7D...0x89; 358 } map { 359 0x7D 0x27 // U+0027 360 0x7E 0x3D // U+003D 361 0x7F 0x22 // U+0022 362 0x80 0x40 // U+0040 363 0x81 0x61 // U+0061 364 0x82 0x62 // U+0062 365 0x83 0x63 // U+0063 366 0x84 0x64 // U+0064 367 0x85 0x65 // U+0065 368 0x86 0x66 // U+0066 369 0x87 0x67 // U+0067 370 0x88 0x68 // U+0068 371 0x89 0x69 // U+0069 372 }; 373 condition { 374 between 0x8A...0x90; 375 } map { 376 0x8A 0xC2AB // U+00AB 377 0x8B 0xC2BB // U+00BB 378 0x8C 0xC3B0 // U+00F0 379 0x8D 0xC3BD // U+00FD 380 0x8E 0xC3BE // U+00FE 381 0x8F 0xC2B1 // U+00B1 382 0x90 0xC2B0 // U+00B0 383 }; 384 condition { 385 between 0x91...0x99; 386 } map { 387 0x91 0x6A // U+006A 388 0x92 0x6B // U+006B 389 0x93 0x6C // U+006C 390 0x94 0x6D // U+006D 391 0x95 0x6E // U+006E 392 0x96 0x6F // U+006F 393 0x97 0x70 // U+0070 394 0x98 0x71 // U+0071 395 0x99 0x72 // U+0072 396 }; 397 condition { 398 between 0x9A...0x9B; 399 } map { 400 0x9A 0xC2AA // U+00AA 401 0x9B 0xC2BA // U+00BA 402 }; 403 condition { 404 between 0x9C...0x9C; 405 } map { 406 0x9C 0x7B // U+007B 407 }; 408 condition { 409 between 0x9D...0x9D; 410 } map { 411 0x9D 0xC2B8 // U+00B8 412 }; 413 condition { 414 between 0x9E...0x9F; 415 } map { 416 0x9E 0x5B // U+005B 417 0x9F 0x5D // U+005D 418 }; 419 condition { 420 between 0xA0...0xA1; 421 } map { 422 0xA0 0xC2B5 // U+00B5 423 0xA1 0xC3BC // U+00FC 424 }; 425 condition { 426 between 0xA2...0xA9; 427 } map { 428 0xA2 0x73 // U+0073 429 0xA3 0x74 // U+0074 430 0xA4 0x75 // U+0075 431 0xA5 0x76 // U+0076 432 0xA6 0x77 // U+0077 433 0xA7 0x78 // U+0078 434 0xA8 0x79 // U+0079 435 0xA9 0x7A // U+007A 436 }; 437 condition { 438 between 0xAA...0xBA; 439 } map { 440 0xAA 0xC2A1 // U+00A1 441 0xAB 0xC2BF // U+00BF 442 0xAC 0xC390 // U+00D0 443 0xAD 0xC39D // U+00DD 444 0xAE 0xC39E // U+00DE 445 0xAF 0xC2AE // U+00AE 446 0xB0 0xC2A2 // U+00A2 447 0xB1 0xC2A3 // U+00A3 448 0xB2 0xC2A5 // U+00A5 449 0xB3 0xC2B7 // U+00B7 450 0xB4 0xC2A9 // U+00A9 451 0xB5 0xC2A7 // U+00A7 452 0xB6 0xC2B6 // U+00B6 453 0xB7 0xC2BC // U+00BC 454 0xB8 0xC2BD // U+00BD 455 0xB9 0xC2BE // U+00BE 456 0xBA 0xC2AC // U+00AC 457 }; 458 condition { 459 between 0xBB...0xBB; 460 } map { 461 0xBB 0x7C // U+007C 462 }; 463 condition { 464 between 0xBC...0xC0; 465 } map { 466 0xBC 0xC2AF // U+00AF 467 0xBD 0xC2A8 // U+00A8 468 0xBE 0xC2B4 // U+00B4 469 0xBF 0xC397 // U+00D7 470 0xC0 0xC3A6 // U+00E6 471 }; 472 condition { 473 between 0xC1...0xC9; 474 } map { 475 0xC1 0x41 // U+0041 476 0xC2 0x42 // U+0042 477 0xC3 0x43 // U+0043 478 0xC4 0x44 // U+0044 479 0xC5 0x45 // U+0045 480 0xC6 0x46 // U+0046 481 0xC7 0x47 // U+0047 482 0xC8 0x48 // U+0048 483 0xC9 0x49 // U+0049 484 }; 485 condition { 486 between 0xCA...0xD0; 487 } map { 488 0xCA 0xC2AD // U+00AD 489 0xCB 0xC3B4 // U+00F4 490 0xCC 0xC3B6 // U+00F6 491 0xCD 0xC3B2 // U+00F2 492 0xCE 0xC3B3 // U+00F3 493 0xCF 0xC3B5 // U+00F5 494 0xD0 0xC3A5 // U+00E5 495 }; 496 condition { 497 between 0xD1...0xD9; 498 } map { 499 0xD1 0x4A // U+004A 500 0xD2 0x4B // U+004B 501 0xD3 0x4C // U+004C 502 0xD4 0x4D // U+004D 503 0xD5 0x4E // U+004E 504 0xD6 0x4F // U+004F 505 0xD7 0x50 // U+0050 506 0xD8 0x51 // U+0051 507 0xD9 0x52 // U+0052 508 }; 509 condition { 510 between 0xDA...0xDB; 511 } map { 512 0xDA 0xC2B9 // U+00B9 513 0xDB 0xC3BB // U+00FB 514 }; 515 condition { 516 between 0xDC...0xDC; 517 } map { 518 0xDC 0x7E // U+007E 519 }; 520 condition { 521 between 0xDD...0xDF; 522 } map { 523 0xDD 0xC3B9 // U+00F9 524 0xDE 0xC3BA // U+00FA 525 0xDF 0xC3BF // U+00FF 526 }; 527 condition { 528 between 0xE0...0xE0; 529 } map { 530 0xE0 0x5C // U+005C 531 }; 532 condition { 533 between 0xE1...0xE1; 534 } map { 535 0xE1 0xC3B7 // U+00F7 536 }; 537 condition { 538 between 0xE2...0xE9; 539 } map { 540 0xE2 0x53 // U+0053 541 0xE3 0x54 // U+0054 542 0xE4 0x55 // U+0055 543 0xE5 0x56 // U+0056 544 0xE6 0x57 // U+0057 545 0xE7 0x58 // U+0058 546 0xE8 0x59 // U+0059 547 0xE9 0x5A // U+005A 548 }; 549 condition { 550 between 0xEA...0xEF; 551 } map { 552 0xEA 0xC2B2 // U+00B2 553 0xEB 0xC394 // U+00D4 554 0xEC 0xC396 // U+00D6 555 0xED 0xC392 // U+00D2 556 0xEE 0xC393 // U+00D3 557 0xEF 0xC395 // U+00D5 558 }; 559 condition { 560 between 0xF0...0xF9; 561 } map { 562 0xF0 0x30 // U+0030 563 0xF1 0x31 // U+0031 564 0xF2 0x32 // U+0032 565 0xF3 0x33 // U+0033 566 0xF4 0x34 // U+0034 567 0xF5 0x35 // U+0035 568 0xF6 0x36 // U+0036 569 0xF7 0x37 // U+0037 570 0xF8 0x38 // U+0038 571 0xF9 0x39 // U+0039 572 }; 573 condition { 574 between 0xFA...0xFF; 575 } map { 576 0xFA 0xC2B3 // U+00B3 577 0xFB 0xC39B // U+00DB 578 0xFC 0xC39C // U+00DC 579 0xFD 0xC399 // U+00D9 580 0xFE 0xC39A // U+00DA 581 0xFF 0xC29F // U+009F 582 }; 583 }; 584} 585