1 /* |
1 /* |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
137 if ((val & $$maskCaseOffset) == $$maskCaseOffset) { |
137 if ((val & $$maskCaseOffset) == $$maskCaseOffset) { |
138 switch(ch) { |
138 switch(ch) { |
139 case 0x0130: mapChar = 0x0069; break; |
139 case 0x0130: mapChar = 0x0069; break; |
140 case 0x023A: mapChar = 0x2C65; break; |
140 case 0x023A: mapChar = 0x2C65; break; |
141 case 0x023E: mapChar = 0x2C66; break; |
141 case 0x023E: mapChar = 0x2C66; break; |
|
142 case 0x0412: mapChar = 0x1C80; break; |
|
143 case 0x0414: mapChar = 0x1C81; break; |
|
144 case 0x041E: mapChar = 0x1C82; break; |
|
145 case 0x0421: mapChar = 0x1C83; break; |
|
146 case 0x042A: mapChar = 0x1C86; break; |
|
147 case 0x0462: mapChar = 0x1C87; break; |
142 case 0x10A0: mapChar = 0x2D00; break; |
148 case 0x10A0: mapChar = 0x2D00; break; |
143 case 0x10A1: mapChar = 0x2D01; break; |
149 case 0x10A1: mapChar = 0x2D01; break; |
144 case 0x10A2: mapChar = 0x2D02; break; |
150 case 0x10A2: mapChar = 0x2D02; break; |
145 case 0x10A3: mapChar = 0x2D03; break; |
151 case 0x10A3: mapChar = 0x2D03; break; |
146 case 0x10A4: mapChar = 0x2D04; break; |
152 case 0x10A4: mapChar = 0x2D04; break; |
297 case 0x2C6E: mapChar = 0x0271; break; |
303 case 0x2C6E: mapChar = 0x0271; break; |
298 case 0x2C6F: mapChar = 0x0250; break; |
304 case 0x2C6F: mapChar = 0x0250; break; |
299 case 0x2C70: mapChar = 0x0252; break; |
305 case 0x2C70: mapChar = 0x0252; break; |
300 case 0x2C7E: mapChar = 0x023F; break; |
306 case 0x2C7E: mapChar = 0x023F; break; |
301 case 0x2C7F: mapChar = 0x0240; break; |
307 case 0x2C7F: mapChar = 0x0240; break; |
|
308 case 0xA64A: mapChar = 0x1C88; break; |
302 case 0xA77D: mapChar = 0x1D79; break; |
309 case 0xA77D: mapChar = 0x1D79; break; |
303 case 0xA78D: mapChar = 0x0265; break; |
310 case 0xA78D: mapChar = 0x0265; break; |
304 case 0xA7AA: mapChar = 0x0266; break; |
311 case 0xA7AA: mapChar = 0x0266; break; |
305 case 0xA7AB: mapChar = 0x025C; break; |
312 case 0xA7AB: mapChar = 0x025C; break; |
306 case 0xA7AC: mapChar = 0x0261; break; |
313 case 0xA7AC: mapChar = 0x0261; break; |
307 case 0xA7AD: mapChar = 0x026C; break; |
314 case 0xA7AD: mapChar = 0x026C; break; |
|
315 case 0xA7AE: mapChar = 0x026A; break; |
308 case 0xA7B0: mapChar = 0x029E; break; |
316 case 0xA7B0: mapChar = 0x029E; break; |
309 case 0xA7B1: mapChar = 0x0287; break; |
317 case 0xA7B1: mapChar = 0x0287; break; |
310 case 0xA7B2: mapChar = 0x029D; break; |
318 case 0xA7B2: mapChar = 0x029D; break; |
311 case 0xA7B3: mapChar = 0xAB53; break; |
319 case 0xA7B3: mapChar = 0xAB53; break; |
312 // default mapChar is already set, so no |
320 // default mapChar is already set, so no |
337 case 0x0252: mapChar = 0x2C70; break; |
345 case 0x0252: mapChar = 0x2C70; break; |
338 case 0x025C: mapChar = 0xA7AB; break; |
346 case 0x025C: mapChar = 0xA7AB; break; |
339 case 0x0261: mapChar = 0xA7AC; break; |
347 case 0x0261: mapChar = 0xA7AC; break; |
340 case 0x0265: mapChar = 0xA78D; break; |
348 case 0x0265: mapChar = 0xA78D; break; |
341 case 0x0266: mapChar = 0xA7AA; break; |
349 case 0x0266: mapChar = 0xA7AA; break; |
|
350 case 0x026A: mapChar = 0xA7AE; break; |
342 case 0x026B: mapChar = 0x2C62; break; |
351 case 0x026B: mapChar = 0x2C62; break; |
343 case 0x026C: mapChar = 0xA7AD; break; |
352 case 0x026C: mapChar = 0xA7AD; break; |
344 case 0x0271: mapChar = 0x2C6E; break; |
353 case 0x0271: mapChar = 0x2C6E; break; |
345 case 0x027D: mapChar = 0x2C64; break; |
354 case 0x027D: mapChar = 0x2C64; break; |
346 case 0x0287: mapChar = 0xA7B1; break; |
355 case 0x0287: mapChar = 0xA7B1; break; |
347 case 0x029D: mapChar = 0xA7B2; break; |
356 case 0x029D: mapChar = 0xA7B2; break; |
348 case 0x029E: mapChar = 0xA7B0; break; |
357 case 0x029E: mapChar = 0xA7B0; break; |
|
358 case 0x1C80: mapChar = 0x0412; break; |
|
359 case 0x1C81: mapChar = 0x0414; break; |
|
360 case 0x1C82: mapChar = 0x041E; break; |
|
361 case 0x1C83: mapChar = 0x0421; break; |
|
362 case 0x1C84: mapChar = 0x0422; break; |
|
363 case 0x1C85: mapChar = 0x0422; break; |
|
364 case 0x1C86: mapChar = 0x042A; break; |
|
365 case 0x1C87: mapChar = 0x0462; break; |
|
366 case 0x1C88: mapChar = 0xA64A; break; |
349 case 0x1D79: mapChar = 0xA77D; break; |
367 case 0x1D79: mapChar = 0xA77D; break; |
350 case 0x1D7D: mapChar = 0x2C63; break; |
368 case 0x1D7D: mapChar = 0x2C63; break; |
351 case 0x1F80: mapChar = 0x1F88; break; |
369 case 0x1F80: mapChar = 0x1F88; break; |
352 case 0x1F81: mapChar = 0x1F89; break; |
370 case 0x1F81: mapChar = 0x1F89; break; |
353 case 0x1F82: mapChar = 0x1F8A; break; |
371 case 0x1F82: mapChar = 0x1F8A; break; |
713 case 0x0252: mapChar = 0x2C70; break; |
731 case 0x0252: mapChar = 0x2C70; break; |
714 case 0x025C: mapChar = 0xA7AB; break; |
732 case 0x025C: mapChar = 0xA7AB; break; |
715 case 0x0261: mapChar = 0xA7AC; break; |
733 case 0x0261: mapChar = 0xA7AC; break; |
716 case 0x0265: mapChar = 0xA78D; break; |
734 case 0x0265: mapChar = 0xA78D; break; |
717 case 0x0266: mapChar = 0xA7AA; break; |
735 case 0x0266: mapChar = 0xA7AA; break; |
|
736 case 0x026A: mapChar = 0xA7AE; break; |
718 case 0x026B: mapChar = 0x2C62; break; |
737 case 0x026B: mapChar = 0x2C62; break; |
719 case 0x026C: mapChar = 0xA7AD; break; |
738 case 0x026C: mapChar = 0xA7AD; break; |
720 case 0x0271: mapChar = 0x2C6E; break; |
739 case 0x0271: mapChar = 0x2C6E; break; |
721 case 0x027D: mapChar = 0x2C64; break; |
740 case 0x027D: mapChar = 0x2C64; break; |
722 case 0x0287: mapChar = 0xA7B1; break; |
741 case 0x0287: mapChar = 0xA7B1; break; |
723 case 0x029D: mapChar = 0xA7B2; break; |
742 case 0x029D: mapChar = 0xA7B2; break; |
724 case 0x029E: mapChar = 0xA7B0; break; |
743 case 0x029E: mapChar = 0xA7B0; break; |
|
744 case 0x1C80: mapChar = 0x0412; break; |
|
745 case 0x1C81: mapChar = 0x0414; break; |
|
746 case 0x1C82: mapChar = 0x041E; break; |
|
747 case 0x1C83: mapChar = 0x0421; break; |
|
748 case 0x1C84: mapChar = 0x0422; break; |
|
749 case 0x1C85: mapChar = 0x0422; break; |
|
750 case 0x1C86: mapChar = 0x042A; break; |
|
751 case 0x1C87: mapChar = 0x0462; break; |
|
752 case 0x1C88: mapChar = 0xA64A; break; |
725 case 0x1D79: mapChar = 0xA77D; break; |
753 case 0x1D79: mapChar = 0xA77D; break; |
726 case 0x1D7D: mapChar = 0x2C63; break; |
754 case 0x1D7D: mapChar = 0x2C63; break; |
727 case 0x1FBE: mapChar = 0x0399; break; |
755 case 0x1FBE: mapChar = 0x0399; break; |
728 case 0x2C65: mapChar = 0x023A; break; |
756 case 0x2C65: mapChar = 0x023A; break; |
729 case 0x2C66: mapChar = 0x023E; break; |
757 case 0x2C66: mapChar = 0x023E; break; |