1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/buffer/t_char.cpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,2292 @@
1.4 +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// e32test\buffer\t_char.cpp
1.18 +// Overview:
1.19 +// Test TChar, TCharF, TChaLC and TCharUC character classes.
1.20 +// API Information:
1.21 +// TChar, TCharF, TChaLC, TCharUC.
1.22 +// Details:
1.23 +// - For different characters
1.24 +// - Verify character's standard category information
1.25 +// - CR1080 verification of standard category information for additional Indic characters
1.26 +// - Verify character's bi-directional Unicode character category.
1.27 +// - Check if character is printable.
1.28 +// - Check if character is a graphical character.
1.29 +// - Verify for Chinese, Japanese, Korean (CJK) notional width.
1.30 +// - Verify that it is upper case, lower case form.
1.31 +// - Verify character's title case.
1.32 +// - Verify mirrored property of character.
1.33 +// - Verify integer numeric property of character.
1.34 +// - Verify character can be decomposed.
1.35 +// - For different unicode strings, verify unicode collation
1.36 +// - Compare data of two descriptors using the different collation methods and
1.37 +// check results are as expected.
1.38 +// - Call the methods in the TChar, TCharF, TCharUC and TCharUC
1.39 +// - For TChar, TCharF, TChaLC, TCharUC
1.40 +// - Check the constructor and operators are as expected.
1.41 +// - Check folded character is same when it is converted to folded uppercase.
1.42 +// - Check folded and uppercase character is same when it is converted to
1.43 +// uppercase letter stripped of accents.
1.44 +// - Convert lowercase, uppercase characters to it's lowercase form, check the conversion
1.45 +// is as expected, and lowercase characters are unchanged.
1.46 +// - Convert lowercase, uppercase characters to it's uppercase form, check the conversion
1.47 +// is as expected, and uppercase characters are unchanged.
1.48 +// Platforms/Drives/Compatibility:
1.49 +// All
1.50 +// Assumptions/Requirement/Pre-requisites:
1.51 +// Failures and causes:
1.52 +// Base Port information:
1.53 +//
1.54 +//
1.55 +
1.56 +#include <e32test.h>
1.57 +#include <collate.h>
1.58 +
1.59 +#ifdef __VC32__
1.60 + // Solve compilation problem caused by non-English locale
1.61 + #pragma setlocale("english")
1.62 +#endif
1.63 +
1.64 +LOCAL_D RTest test(_L("T_CHAR"));
1.65 +
1.66 +enum
1.67 + {
1.68 + Ydieresis=0x178,
1.69 + nobreakspace=160,
1.70 + exclamdown,
1.71 + cent,
1.72 + sterling,
1.73 + currency,
1.74 + yen,
1.75 + brokenbar,
1.76 + section,
1.77 + dieresis,
1.78 + copyright,
1.79 + ordfeminine,
1.80 + leftdoubleanglequote,
1.81 + logicalnot,
1.82 + softhyphen,
1.83 + registered,
1.84 + macron,
1.85 + degree,
1.86 + plusminus,
1.87 + twosuperior,
1.88 + threesuperior,
1.89 + acute,
1.90 + micro,
1.91 + pilcrow,
1.92 + dotaccent,
1.93 + cedilla,
1.94 + onesuperior,
1.95 + ordmasculine,
1.96 + rightdoubleanglequote,
1.97 + onequarter,
1.98 + onehalf,
1.99 + threequarters,
1.100 + questiondown,
1.101 + Agrave,
1.102 + Aacute,
1.103 + Acircumflex,
1.104 + Atilde,
1.105 + Adieresis,
1.106 + Aring,
1.107 + AE,
1.108 + Ccedilla,
1.109 + Egrave,
1.110 + Eacute,
1.111 + Ecircumflex,
1.112 + Edieresis,
1.113 + Igrave,
1.114 + Iacute,
1.115 + Icircumflex,
1.116 + Idieresis,
1.117 + Eth,
1.118 + Ntilde,
1.119 + Ograve,
1.120 + Oacute,
1.121 + Ocircumflex,
1.122 + Otilde,
1.123 + Odieresis,
1.124 + multiplication,
1.125 + Oslash,
1.126 + Ugrave,
1.127 + Uacute,
1.128 + Ucircumflex,
1.129 + Udieresis,
1.130 + Yacute,
1.131 + Thorn,
1.132 + germanbls,
1.133 + agrave,
1.134 + aacute,
1.135 + acircumflex,
1.136 + atilde,
1.137 + adieresis,
1.138 + aring,
1.139 + ae,
1.140 + ccedilla,
1.141 + egrave,
1.142 + eacute,
1.143 + ecircumflex,
1.144 + edieresis,
1.145 + igrave,
1.146 + iacute,
1.147 + icircumflex,
1.148 + idieresis,
1.149 + eth,
1.150 + ntilde,
1.151 + ograve,
1.152 + oacute,
1.153 + ocircumflex,
1.154 + otilde,
1.155 + odieresis,
1.156 + division,
1.157 + oslash,
1.158 + ugrave,
1.159 + uacute,
1.160 + ucircumflex,
1.161 + udieresis,
1.162 + yacute,
1.163 + thorn,
1.164 + ydieresis,
1.165 + Dzcaron = 0x01C5,
1.166 + Lj = 0x01C8,
1.167 + Udearesismacron = 0x01D5,
1.168 + Adotabove = 0x01E0,
1.169 + AEmacron = 0x01E2,
1.170 + aringacute = 0x01FB,
1.171 + scommabelow = 0x0219,
1.172 + Otildemacron = 0x022C,
1.173 + Cstroke = 0x023B,
1.174 + doubleprime = 0x02BA,
1.175 + lowleftarrow = 0x02FF,
1.176 + candrabindu = 0x0310,
1.177 + doublerightwardsarrowbelow = 0x0362,
1.178 + latinsmalla = 0x0363
1.179 + };
1.180 +
1.181 +struct TCharDump
1.182 + {
1.183 + TUint iChar;
1.184 + };
1.185 +
1.186 +/*EXPORT_C*/ void TChar::__DbgTest(void* pTCharDump) const
1.187 + {
1.188 + ((TCharDump*)pTCharDump)->iChar=iChar;
1.189 + }
1.190 +
1.191 +typedef enum {eTChar, eTCharF, eTCharC, eTCharLC, eTCharUC} TCharTypes;
1.192 +
1.193 +template<class TCharType>
1.194 +class TestTChar
1.195 + {
1.196 +public:
1.197 + void Test1();
1.198 + void Test2(TCharTypes);
1.199 + void Test3(TCharTypes);
1.200 + void Test4(TCharTypes);
1.201 + };
1.202 +
1.203 +template<class TCharType>
1.204 +GLDEF_C void TestTChar<TCharType>::Test1()
1.205 +// Test that the methods are in the DLL
1.206 + {
1.207 + test.Start(_L("Test methods are in DLL - TChar"));
1.208 + TChar a('X');
1.209 + TUint TU=0;
1.210 + TChar b(TU);
1.211 + TChar c(b);
1.212 +
1.213 + c=TU;
1.214 + c=a;
1.215 + c-=TU;
1.216 + c+=TU;
1.217 + c-TU;
1.218 + c+TU;
1.219 + c=(TUint)(a);
1.220 +
1.221 + a.Fold();
1.222 + a.LowerCase();
1.223 + a.UpperCase();
1.224 + a.Eos();
1.225 + a.IsLower();
1.226 + a.IsUpper();
1.227 + a.IsAlpha();
1.228 + a.IsDigit();
1.229 + a.IsAlphaDigit();
1.230 + a.IsHexDigit();
1.231 + a.IsSpace();
1.232 + a.IsPunctuation();
1.233 + a.IsGraph();
1.234 + a.IsPrint();
1.235 +// a.SetChar(TU); protected
1.236 +
1.237 + test.Next(_L("Test methods are in DLL - TCharF"));
1.238 + TCharF d(TU);
1.239 + TCharF e(a);
1.240 + e=d;
1.241 + e=TU;
1.242 + e=a;
1.243 +
1.244 + test.Next(_L("Test methods are in DLL - TCharLC"));
1.245 + TCharLC h(TU);
1.246 + TCharLC i(a);
1.247 + h=i;
1.248 + h=TU;
1.249 + h=a;
1.250 +
1.251 + test.Next(_L("Test methods are in DLL - TCharUC"));
1.252 + TCharUC j(TU);
1.253 + TCharUC k(a);
1.254 + k=j;
1.255 + k=TU;
1.256 + k=a;
1.257 + test.End();
1.258 + }
1.259 +
1.260 +
1.261 +//*********************************
1.262 +// Test the constructors
1.263 +//*********************************
1.264 +template<class TCharType>
1.265 +GLDEF_C void TestTChar<TCharType>::Test2(TCharTypes CharType)
1.266 + {
1.267 + test.Start(_L("Test constructors"));
1.268 + TCharDump dump;
1.269 + TCharType b('x');
1.270 + b.__DbgTest(&dump);
1.271 + switch(CharType)
1.272 + {
1.273 + case eTChar:
1.274 + case eTCharLC:
1.275 + test(dump.iChar=='x');
1.276 + break;
1.277 + case eTCharUC:
1.278 + test(dump.iChar=='X');
1.279 + break;
1.280 + case eTCharF:
1.281 + case eTCharC:
1.282 + test(dump.iChar == 'x');
1.283 + }
1.284 + test.End();
1.285 + }
1.286 +
1.287 +
1.288 +//*********************************
1.289 +// Test the operators
1.290 +//*********************************
1.291 +template<class TCharType>
1.292 +GLDEF_C void TestTChar<TCharType>::Test3(TCharTypes CharType)
1.293 + {
1.294 + test.Start(_L("Test the operators"));
1.295 + test.Next(_L("="));
1.296 + TCharDump dump;
1.297 + TUint TUx='x', TUX='X';
1.298 + TChar TCy='y', TCY='Y';
1.299 + TCharType aChar('m');
1.300 +
1.301 + aChar=TUx;
1.302 + aChar.__DbgTest(&dump);
1.303 + switch(CharType)
1.304 + {
1.305 + case eTChar:
1.306 + case eTCharLC: test(dump.iChar=='x'); break;
1.307 + case eTCharUC: test(dump.iChar=='X'); break;
1.308 + case eTCharF:
1.309 + case eTCharC:
1.310 + test(dump.iChar == 'x');
1.311 + }
1.312 +
1.313 + aChar=TUX;
1.314 + aChar.__DbgTest(&dump);
1.315 + switch(CharType)
1.316 + {
1.317 + case eTCharLC: test(dump.iChar=='x'); break;
1.318 + case eTChar:
1.319 + case eTCharUC: test(dump.iChar=='X'); break;
1.320 + case eTCharF:
1.321 + case eTCharC:
1.322 + test(dump.iChar == 'x');
1.323 + }
1.324 +
1.325 + aChar=TCy;
1.326 + aChar.__DbgTest(&dump);
1.327 + switch(CharType)
1.328 + {
1.329 + case eTChar:
1.330 + case eTCharLC: test(dump.iChar=='y'); break;
1.331 + case eTCharUC: test(dump.iChar=='Y'); break;
1.332 + case eTCharF:
1.333 + case eTCharC:
1.334 + test(dump.iChar == 'y');
1.335 + }
1.336 +
1.337 + aChar=TCY;
1.338 + aChar.__DbgTest(&dump);
1.339 + switch(CharType)
1.340 + {
1.341 + case eTCharLC: test(dump.iChar=='y'); break;
1.342 + case eTChar:
1.343 + case eTCharUC: test(dump.iChar=='Y'); break;
1.344 + case eTCharF:
1.345 + case eTCharC:
1.346 + test(dump.iChar == 'y');
1.347 + }
1.348 +
1.349 +
1.350 + test.Next(_L("-=, +=, -, + and cast"));
1.351 + TCharType x(10);
1.352 + x-=5;
1.353 + x.__DbgTest(&dump);
1.354 + test(dump.iChar==5);
1.355 +
1.356 + x+=5;
1.357 + x.__DbgTest(&dump);
1.358 + test(dump.iChar==10);
1.359 +
1.360 + test((x-(TUint)5)==5);
1.361 + x.__DbgTest(&dump);
1.362 + test(dump.iChar==10);
1.363 +
1.364 + test((x+(TUint)5)==15);
1.365 + x.__DbgTest(&dump);
1.366 + test(dump.iChar==10);
1.367 +
1.368 + TChar z('a');
1.369 + TUint w=z;
1.370 + test(w==97);
1.371 +
1.372 + test.End();
1.373 + }
1.374 +
1.375 +
1.376 +//////////////////////////////////////////////
1.377 +// Test Fold, Fold(TChar::EFoldAccents), Collate, LowerCase, UpperCase
1.378 +////////////////////////////////////////////
1.379 +template<class TCharType>
1.380 +GLDEF_C void TestTChar<TCharType>::Test4(TCharTypes CharType)
1.381 + {
1.382 + test.Start(_L("Fold(), Fold(TChar::EFoldAccents), Collate(), LowerCase() UpperCase() & Eos()"));
1.383 + TCharDump dump1, dump2;
1.384 + TCharType c(0);
1.385 +
1.386 + // Is the folded version the same as the folded uppercase version?
1.387 + test.Next(_L("Fold() 0-127"));
1.388 + TUint i;
1.389 + for(i=0; i<=127; i++)
1.390 + {
1.391 + c = i;
1.392 + c.Fold();
1.393 + c.__DbgTest(&dump1);
1.394 + c.UpperCase();
1.395 + c.Fold();
1.396 + c.__DbgTest(&dump2);
1.397 + test(dump1.iChar == dump2.iChar);
1.398 + }
1.399 +
1.400 + // Is the folded and uppercased version the same as an uppercase letter stripped of accents?
1.401 + test.Next(_L("Fold() >127"));
1.402 + for(i=128; i<=255; i++)
1.403 + {
1.404 + c=i;
1.405 + c.Fold();
1.406 + c.UpperCase();
1.407 + c.__DbgTest(&dump1);
1.408 + if(CharType==eTChar)
1.409 + {
1.410 + switch(i)
1.411 + {
1.412 + case ccedilla:
1.413 + case Ccedilla:
1.414 + test(dump1.iChar=='C');
1.415 + break;
1.416 +
1.417 + case udieresis:
1.418 + case ucircumflex:
1.419 + case ugrave:
1.420 + case uacute:
1.421 + case Udieresis:
1.422 + case Ucircumflex:
1.423 + case Ugrave:
1.424 + case Uacute:
1.425 + test(dump1.iChar=='U');
1.426 + break;
1.427 +
1.428 + case ydieresis:
1.429 + case yacute:
1.430 + case Yacute:
1.431 + test(dump1.iChar=='Y');
1.432 + break;
1.433 +
1.434 + case ecircumflex:
1.435 + case edieresis:
1.436 + case egrave:
1.437 + case eacute:
1.438 + case Ecircumflex:
1.439 + case Edieresis:
1.440 + case Egrave:
1.441 + case Eacute:
1.442 + test(dump1.iChar=='E');
1.443 + break;
1.444 +
1.445 + case acircumflex:
1.446 + case adieresis:
1.447 + case agrave:
1.448 + case aacute:
1.449 + case Acircumflex:
1.450 + case Adieresis:
1.451 + case Agrave:
1.452 + case Aacute:
1.453 + case atilde:
1.454 + case Atilde:
1.455 + case aring:
1.456 + case Aring:
1.457 + test(dump1.iChar=='A');
1.458 + break;
1.459 +
1.460 + case idieresis:
1.461 + case icircumflex:
1.462 + case iacute:
1.463 + case igrave:
1.464 + case Idieresis:
1.465 + case Icircumflex:
1.466 + case Iacute:
1.467 + case Igrave:
1.468 + test(dump1.iChar=='I');
1.469 + break;
1.470 +
1.471 + case ocircumflex:
1.472 + case odieresis:
1.473 + case ograve:
1.474 + case oacute:
1.475 + case otilde:
1.476 + case Ocircumflex:
1.477 + case Odieresis:
1.478 + case Ograve:
1.479 + case Oacute:
1.480 + case Otilde:
1.481 + test(dump1.iChar=='O');
1.482 + break;
1.483 +
1.484 + case ntilde:
1.485 + case Ntilde:
1.486 + test(dump1.iChar=='N'); break;
1.487 +
1.488 + case oslash:
1.489 + case Oslash:
1.490 +
1.491 + test(dump1.iChar==Oslash); break;
1.492 +
1.493 + case ae:
1.494 + case AE:
1.495 + test(dump1.iChar==AE); break;
1.496 +
1.497 + case eth:
1.498 + case Eth:
1.499 + test(dump1.iChar==Eth); break;
1.500 +
1.501 + case thorn:
1.502 + case Thorn:
1.503 + test(dump1.iChar==Thorn);
1.504 + break;
1.505 +
1.506 + case nobreakspace:
1.507 + test(dump1.iChar == ' ');
1.508 + break;
1.509 +
1.510 + case micro:
1.511 + test(dump1.iChar == 0x039C);
1.512 + break;
1.513 +
1.514 + default:
1.515 + test(dump1.iChar==i);
1.516 + }
1.517 + }
1.518 + }
1.519 +
1.520 + // In the following test section We test Fold(TChar::EFoldAccents) - This code tests this function for all the
1.521 + // set of unicode characters located between 0x0080 and 0x00FF which are already tested for Fold().
1.522 + // I added to this test 13 unicode character located between 0x01C5 and 0x0363.
1.523 +
1.524 + test.Next(_L("Fold(TChar::EFoldAccents) >127"));
1.525 + for(i=128; i<=255; i++)
1.526 + {
1.527 + c=i;
1.528 + c.Fold(TChar::EFoldAccents);
1.529 + c.__DbgTest(&dump1);
1.530 + if(CharType==eTChar)
1.531 + {
1.532 + switch(i)
1.533 + {
1.534 + case ccedilla:
1.535 + test(dump1.iChar=='c');
1.536 + break;
1.537 +
1.538 + case Ccedilla:
1.539 + test(dump1.iChar=='C');
1.540 + break;
1.541 +
1.542 + case acircumflex:
1.543 + case adieresis:
1.544 + case agrave:
1.545 + case aacute:
1.546 + case atilde:
1.547 + case aring:
1.548 + case aringacute:
1.549 + test(dump1.iChar=='a');
1.550 + break;
1.551 +
1.552 + case Acircumflex:
1.553 + case Adieresis:
1.554 + case Agrave:
1.555 + case Aacute:
1.556 + case Atilde:
1.557 + case Aring:
1.558 + test(dump1.iChar=='A');
1.559 + break;
1.560 +
1.561 + case udieresis:
1.562 + case ucircumflex:
1.563 + case ugrave:
1.564 + case uacute:
1.565 + test(dump1.iChar=='u');
1.566 + break;
1.567 +
1.568 + case Udieresis:
1.569 + case Ucircumflex:
1.570 + case Ugrave:
1.571 + case Uacute:
1.572 + test(dump1.iChar=='U');
1.573 + break;
1.574 +
1.575 + case ydieresis:
1.576 + case yacute:
1.577 + test(dump1.iChar=='y');
1.578 + break;
1.579 +
1.580 + case Yacute:
1.581 + test(dump1.iChar=='Y');
1.582 + break;
1.583 +
1.584 + case ecircumflex:
1.585 + case edieresis:
1.586 + case egrave:
1.587 + case eacute:
1.588 + test(dump1.iChar=='e');
1.589 + break;
1.590 +
1.591 + case Ecircumflex:
1.592 + case Edieresis:
1.593 + case Egrave:
1.594 + case Eacute:
1.595 + test(dump1.iChar=='E');
1.596 + break;
1.597 +
1.598 + case idieresis:
1.599 + case icircumflex:
1.600 + case iacute:
1.601 + case igrave:
1.602 + test(dump1.iChar=='i');
1.603 + break;
1.604 +
1.605 + case Idieresis:
1.606 + case Icircumflex:
1.607 + case Iacute:
1.608 + case Igrave:
1.609 + test(dump1.iChar=='I');
1.610 + break;
1.611 +
1.612 + case ocircumflex:
1.613 + case odieresis:
1.614 + case ograve:
1.615 + case oacute:
1.616 + case otilde:
1.617 + test(dump1.iChar=='o');
1.618 + break;
1.619 +
1.620 + case Ocircumflex:
1.621 + case Odieresis:
1.622 + case Ograve:
1.623 + case Oacute:
1.624 + case Otilde:
1.625 + test(dump1.iChar=='O');
1.626 + break;
1.627 +
1.628 + case ntilde: test(dump1.iChar=='n'); break;
1.629 +
1.630 + case Ntilde: test(dump1.iChar=='N'); break;
1.631 +
1.632 + case oslash: test(dump1.iChar==oslash); break;
1.633 + case Oslash: test(dump1.iChar==Oslash); break;
1.634 +
1.635 + case ae: test(dump1.iChar==ae); break;
1.636 + case AE: test(dump1.iChar==AE); break;
1.637 +
1.638 + case eth: test(dump1.iChar==eth); break;
1.639 + case Eth: test(dump1.iChar==Eth); break;
1.640 +
1.641 + case thorn: test(dump1.iChar==thorn);break;
1.642 + case Thorn: test(dump1.iChar==Thorn);break;
1.643 +
1.644 + case micro:
1.645 + test(dump1.iChar == 0x00B5);
1.646 + break;
1.647 +
1.648 + default:
1.649 + test(dump1.iChar==i);
1.650 + }
1.651 + }
1.652 + }
1.653 +
1.654 + TUint specialCasesTable [] =
1.655 + {
1.656 + 0x01C5, // Dzcaron
1.657 + 0x01C8, // Lj
1.658 + 0x01D5,// Udearesismacron
1.659 + 0x01E0,// Adotabove
1.660 + 0x01E2,// AEmacron
1.661 + 0x0219, // scommabelow
1.662 + 0x022C,// Otildemacron
1.663 + 0x023B,// Cstroke
1.664 + 0x02BA, // doubleprime
1.665 + 0x02FF,// lowleftarrow
1.666 + 0x0310, // candrabindu
1.667 + 0x0362, // doublerightwardsarrowbelow
1.668 + 0x0363 // latinsmalla
1.669 + };
1.670 +
1.671 + for (i=0;i<=12; i++)
1.672 + {
1.673 + c=specialCasesTable[i];
1.674 + c.Fold(TChar::EFoldAccents);
1.675 + c.__DbgTest(&dump1);
1.676 + if(CharType==eTChar)
1.677 + {
1.678 + switch(specialCasesTable[i])
1.679 + {
1.680 + case Dzcaron : test(dump1.iChar==Dzcaron); break;
1.681 + case Lj : test(dump1.iChar==Lj); break;
1.682 + case Udearesismacron : test(dump1.iChar=='U'); break;
1.683 + case Adotabove : test(dump1.iChar=='A'); break;
1.684 + case AEmacron : test(dump1.iChar==AE); break;
1.685 + case scommabelow : test(dump1.iChar=='s'); break;
1.686 + case Otildemacron : test(dump1.iChar=='O'); break;
1.687 + case Cstroke : test(dump1.iChar==Cstroke); break;
1.688 + case doubleprime : test(dump1.iChar==doubleprime); break;
1.689 + case lowleftarrow : test(dump1.iChar==lowleftarrow); break;
1.690 + case candrabindu : test(dump1.iChar==candrabindu); break;
1.691 + case doublerightwardsarrowbelow : test(dump1.iChar==doublerightwardsarrowbelow); break;
1.692 + case latinsmalla : test(dump1.iChar==latinsmalla); break;
1.693 + default : test(dump1.iChar==specialCasesTable[i]);
1.694 + }
1.695 + }
1.696 + }
1.697 +
1.698 + test.Next(_L("LowerCase() 0-127"));
1.699 + for(i=0;i<=127; i++)
1.700 + {
1.701 + c=i;
1.702 + if(c.IsUpper())
1.703 + {
1.704 + c.__DbgTest(&dump1);
1.705 + c.LowerCase();
1.706 + c.__DbgTest(&dump2);
1.707 + test(dump1.iChar==dump2.iChar-32);
1.708 + }
1.709 + else
1.710 + {
1.711 + c.__DbgTest(&dump1);
1.712 + c.LowerCase();
1.713 + c.__DbgTest(&dump2);
1.714 + test(dump1.iChar==dump2.iChar);
1.715 + }
1.716 + }
1.717 +
1.718 +
1.719 + test.Next(_L("LowerCase() >127"));
1.720 + for(i=128; i<=255; i++)
1.721 + {
1.722 + c=i;
1.723 + c.LowerCase();
1.724 + c.__DbgTest(&dump1);
1.725 + if(CharType==eTChar)
1.726 + {
1.727 + switch(i)
1.728 + {
1.729 + case Acircumflex: test(dump1.iChar==acircumflex); break;
1.730 + case Adieresis: test(dump1.iChar==adieresis); break;
1.731 + case Agrave: test(dump1.iChar==agrave); break;
1.732 + case Aacute: test(dump1.iChar==aacute); break;
1.733 + case Atilde: test(dump1.iChar==atilde); break;
1.734 + case Aring: test(dump1.iChar==aring); break;
1.735 + case AE: test(dump1.iChar==ae); break;
1.736 + case Ccedilla: test(dump1.iChar==ccedilla); break;
1.737 + case Ecircumflex: test(dump1.iChar==ecircumflex); break;
1.738 + case Edieresis: test(dump1.iChar==edieresis); break;
1.739 + case Egrave: test(dump1.iChar==egrave); break;
1.740 + case Eacute: test(dump1.iChar==eacute); break;
1.741 + case Eth: test(dump1.iChar==eth); break;
1.742 + case Icircumflex: test(dump1.iChar==icircumflex); break;
1.743 + case Idieresis: test(dump1.iChar==idieresis); break;
1.744 + case Igrave: test(dump1.iChar==igrave); break;
1.745 + case Iacute: test(dump1.iChar==iacute); break;
1.746 + case Ntilde: test(dump1.iChar==ntilde); break;
1.747 + case Oslash: test(dump1.iChar==oslash); break;
1.748 + case Ocircumflex: test(dump1.iChar==ocircumflex); break;
1.749 + case Odieresis: test(dump1.iChar==odieresis); break;
1.750 + case Ograve: test(dump1.iChar==ograve); break;
1.751 + case Oacute: test(dump1.iChar==oacute); break;
1.752 + case Otilde: test(dump1.iChar==otilde); break;
1.753 + case Thorn: test(dump1.iChar==thorn); break;
1.754 + case Ucircumflex: test(dump1.iChar==ucircumflex); break;
1.755 + case Udieresis: test(dump1.iChar==udieresis); break;
1.756 + case Ugrave: test(dump1.iChar==ugrave); break;
1.757 + case Uacute: test(dump1.iChar==uacute); break;
1.758 + case Yacute: test(dump1.iChar==yacute); break;
1.759 + default: test(dump1.iChar==i);
1.760 + }
1.761 + }
1.762 + }
1.763 +
1.764 +
1.765 + test.Next(_L("UpperCase() 0-127"));
1.766 + for(i=0;i<=127; i++)
1.767 + {
1.768 + c=i;
1.769 + if(c.IsLower())
1.770 + {
1.771 + c.__DbgTest(&dump1);
1.772 + c.UpperCase();
1.773 + c.__DbgTest(&dump2);
1.774 + test(dump1.iChar==dump2.iChar+32);
1.775 + }
1.776 + else
1.777 + {
1.778 + c.__DbgTest(&dump1);
1.779 + c.UpperCase();
1.780 + c.__DbgTest(&dump2);
1.781 + test(dump1.iChar==dump2.iChar);
1.782 + }
1.783 + }
1.784 +
1.785 +
1.786 + test.Next(_L("UpperCase() >127"));
1.787 + for(i=128; i<=255; i++)
1.788 + {
1.789 + c=i;
1.790 + c.UpperCase();
1.791 + c.__DbgTest(&dump1);
1.792 + if(CharType==eTChar)
1.793 + {
1.794 + switch(i)
1.795 + {
1.796 + case acircumflex: test(dump1.iChar==Acircumflex); break;
1.797 + case adieresis: test(dump1.iChar==Adieresis); break;
1.798 + case agrave: test(dump1.iChar==Agrave); break;
1.799 + case aacute: test(dump1.iChar==Aacute); break;
1.800 + case atilde: test(dump1.iChar==Atilde); break;
1.801 + case aring: test(dump1.iChar==Aring); break;
1.802 + case ae: test(dump1.iChar==AE); break;
1.803 + case ccedilla: test(dump1.iChar==Ccedilla); break;
1.804 + case ecircumflex: test(dump1.iChar==Ecircumflex); break;
1.805 + case edieresis: test(dump1.iChar==Edieresis); break;
1.806 + case egrave: test(dump1.iChar==Egrave); break;
1.807 + case eacute: test(dump1.iChar==Eacute); break;
1.808 + case eth: test(dump1.iChar==Eth); break;
1.809 + case icircumflex: test(dump1.iChar==Icircumflex); break;
1.810 + case idieresis: test(dump1.iChar==Idieresis); break;
1.811 + case igrave: test(dump1.iChar==Igrave); break;
1.812 + case iacute: test(dump1.iChar==Iacute); break;
1.813 + case ntilde: test(dump1.iChar==Ntilde); break;
1.814 + case oslash: test(dump1.iChar==Oslash); break;
1.815 + case ocircumflex: test(dump1.iChar==Ocircumflex); break;
1.816 + case odieresis: test(dump1.iChar==Odieresis); break;
1.817 + case ograve: test(dump1.iChar==Ograve); break;
1.818 + case oacute: test(dump1.iChar==Oacute); break;
1.819 + case otilde: test(dump1.iChar==Otilde); break;
1.820 + case thorn: test(dump1.iChar==Thorn); break;
1.821 + case ucircumflex: test(dump1.iChar==Ucircumflex); break;
1.822 + case udieresis: test(dump1.iChar==Udieresis); break;
1.823 + case ugrave: test(dump1.iChar==Ugrave); break;
1.824 + case uacute: test(dump1.iChar==Uacute); break;
1.825 + case yacute: test(dump1.iChar==Yacute); break;
1.826 + case ydieresis: test(dump1.iChar==Ydieresis); break;
1.827 + case micro: test(dump1.iChar==0x039C); break;
1.828 + default: test(dump1.iChar==i);
1.829 + }
1.830 + }
1.831 + }
1.832 +
1.833 + test.Next(_L("Eos()"));
1.834 + c=0;
1.835 + test(c.Eos()==TRUE);
1.836 + for(i=1;i<=255;i++)
1.837 + {
1.838 + c=i;
1.839 + test(c.Eos()==FALSE);
1.840 + }
1.841 + test.End();
1.842 + }
1.843 +
1.844 +
1.845 +//*********************************
1.846 +// Test the Isxxx functions
1.847 +//*********************************
1.848 +//
1.849 +// Deleted as it can no longer use the C library
1.850 +//
1.851 +/*
1.852 +template<class TCharType>
1.853 +GLDEF_C void TestTChar<TCharType>::Test5(TCharTypes CharType)
1.854 + {
1.855 + test.Start(_L("Isxxxxx()"));
1.856 + test.End();
1.857 + }
1.858 +*/
1.859 +
1.860 +#ifndef _DEBUG
1.861 +#pragma warning (disable :4710) //Function not expanded
1.862 +#pragma warning (disable :4700) //Local variable used without being initialized
1.863 +#endif
1.864 +
1.865 +/*
1.866 +Put all the information about a character into a string. This can then be compared with
1.867 +a previously verified string to test the character classification functions.
1.868 +
1.869 +To keep the string short, only non-default information is appended, except for the first
1.870 +attribute, the category.
1.871 +
1.872 +The format is:
1.873 +
1.874 +1. The two-letter Unicode category code: e.g., Lu for an uppercase letter, Nd for a digit, etc.
1.875 +2. If the bidirectional category is not TChar::ELeftToRight, ' b=' then the one or two-letter code.
1.876 +3. If the combining class is not 0, ' c=' then the combining class number in decimal.
1.877 +4. If the uppercase form is different from the character code, ' u=' then the uppercase form in hex.
1.878 +5. If the titlecase form is different from the character code, ' t=' then the titlecase form in hex.
1.879 +6. If the lowercase form is different from the character code, ' l=' then the lowercase form in hex.
1.880 +** REMOVED ** 7. If the folded form is different from the character code, ' f=' then the folded form in hex.
1.881 +8. If the character has the mirrored property, ' m'.
1.882 +9. If the character has a numeric value, ' n=' then the numeric value in decimal, or -2 for fractions.
1.883 +10. If the CJK width is not neutral, ' w=' then 1 for halfwidth, 2 for fullwidth, 3 for narrow, 4 for wide
1.884 +11. If there is a canonical decomposition, ' d=' then the characters of the decomposition in hex, comma-separated.
1.885 +*/
1.886 +void char_info_to_string(TDes16& info,TUint x)
1.887 + {
1.888 + TChar c(x);
1.889 +
1.890 + TChar::TCharInfo ci;
1.891 + c.GetInfo(ci);
1.892 +
1.893 + TBuf<16> cat;
1.894 + switch (ci.iCategory)
1.895 + {
1.896 + case TChar::ELuCategory: cat = _L("Lu"); break;
1.897 + case TChar::ELlCategory: cat = _L("Ll"); break;
1.898 + case TChar::ELtCategory: cat = _L("Lt"); break;
1.899 + case TChar::ELoCategory: cat = _L("Lo"); break;
1.900 + case TChar::ELmCategory: cat = _L("Lm"); break;
1.901 + case TChar::EMnCategory: cat = _L("Mn"); break;
1.902 + case TChar::EMcCategory: cat = _L("Mc"); break;
1.903 + case TChar::ENdCategory: cat = _L("Nd"); break;
1.904 + case TChar::ENlCategory: cat = _L("Nl"); break;
1.905 + case TChar::ENoCategory: cat = _L("No"); break;
1.906 + case TChar::EPdCategory: cat = _L("Pd"); break;
1.907 + case TChar::EPsCategory: cat = _L("Ps"); break;
1.908 + case TChar::EPeCategory: cat = _L("Pe"); break;
1.909 + case TChar::EPoCategory: cat = _L("Po"); break;
1.910 + case TChar::EPiCategory: cat = _L("Pi"); break;
1.911 + case TChar::EPfCategory: cat = _L("Pf"); break;
1.912 + case TChar::ESmCategory: cat = _L("Sm"); break;
1.913 + case TChar::EScCategory: cat = _L("Sc"); break;
1.914 + case TChar::ESkCategory: cat = _L("Sk"); break;
1.915 + case TChar::ESoCategory: cat = _L("So"); break;
1.916 + case TChar::EZsCategory: cat = _L("Zs"); break;
1.917 + case TChar::EZlCategory: cat = _L("Zl"); break;
1.918 + case TChar::EZpCategory: cat = _L("Zp"); break;
1.919 + case TChar::ECcCategory: cat = _L("Cc"); break;
1.920 + case TChar::ECoCategory: cat = _L("Co"); break;
1.921 + case TChar::ECnCategory: cat = _L("Cn"); break;
1.922 + case TChar::ECfCategory: cat = _L("Cf"); break;
1.923 + default: User::Panic(_L("bad char category"),0); break;
1.924 + }
1.925 + info.Append(cat);
1.926 +
1.927 + TBuf<16> bdcat;
1.928 + switch (ci.iBdCategory)
1.929 + {
1.930 + case TChar::ELeftToRight: bdcat=_L("L"); break;
1.931 + case TChar::ELeftToRightEmbedding: bdcat=_L("LRE"); break;
1.932 + case TChar::ELeftToRightOverride: bdcat=_L("LRO"); break;
1.933 + case TChar::ERightToLeft: bdcat=_L("R"); break;
1.934 + case TChar::ERightToLeftArabic: bdcat=_L("AL"); break;
1.935 + case TChar::ERightToLeftEmbedding: bdcat=_L("RLE"); break;
1.936 + case TChar::ERightToLeftOverride: bdcat=_L("RLO"); break;
1.937 + case TChar::EPopDirectionalFormat: bdcat=_L("PDF"); break;
1.938 + case TChar::EEuropeanNumber: bdcat=_L("EN"); break;
1.939 + case TChar::EEuropeanNumberSeparator: bdcat=_L("ES"); break;
1.940 + case TChar::EEuropeanNumberTerminator: bdcat=_L("ET"); break;
1.941 + case TChar::EArabicNumber: bdcat=_L("AN"); break;
1.942 + case TChar::ECommonNumberSeparator: bdcat=_L("CS"); break;
1.943 + case TChar::ENonSpacingMark: bdcat=_L("NSM"); break;
1.944 + case TChar::EBoundaryNeutral: bdcat=_L("BN"); break;
1.945 + case TChar::EParagraphSeparator: bdcat=_L("B"); break;
1.946 + case TChar::ESegmentSeparator: bdcat=_L("S"); break;
1.947 + case TChar::EWhitespace: bdcat=_L("WS"); break;
1.948 + case TChar::EOtherNeutral: bdcat=_L("ON"); break;
1.949 + default: User::Panic(_L("bad bd category"),0); break;
1.950 + }
1.951 + if (ci.iBdCategory != TChar::ELeftToRight)
1.952 + {
1.953 + info.Append(_L(" b="));
1.954 + info.Append(bdcat);
1.955 + }
1.956 +
1.957 + if (ci.iCombiningClass != 0)
1.958 + {
1.959 + info.Append(_L(" c="));
1.960 + info.AppendNum(ci.iCombiningClass);
1.961 + }
1.962 +
1.963 + if (ci.iUpperCase != x)
1.964 + {
1.965 + info.Append(_L(" u="));
1.966 + info.AppendNum(ci.iUpperCase,EHex);
1.967 + }
1.968 +
1.969 + if (ci.iTitleCase != x)
1.970 + {
1.971 + info.Append(_L(" t="));
1.972 + info.AppendNum(ci.iTitleCase,EHex);
1.973 + }
1.974 +
1.975 + if (ci.iLowerCase != x)
1.976 + {
1.977 + info.Append(_L(" l="));
1.978 + info.AppendNum(ci.iLowerCase,EHex);
1.979 + }
1.980 +
1.981 + if (ci.iMirrored)
1.982 + info.Append(_L(" m"));
1.983 +
1.984 + if (ci.iNumericValue != -1)
1.985 + {
1.986 + info.Append(_L(" n="));
1.987 + info.AppendNum(ci.iNumericValue);
1.988 + }
1.989 +
1.990 + switch (c.GetCjkWidth())
1.991 + {
1.992 + case TChar::EHalfWidth: info.Append(_L(" w=1")); break;
1.993 + case TChar::EFullWidth: info.Append(_L(" w=2")); break;
1.994 + case TChar::ENarrow: info.Append(_L(" w=3")); break;
1.995 + case TChar::EWide: info.Append(_L(" w=4")); break;
1.996 + default: break;
1.997 + }
1.998 +
1.999 + TPtrC16 d;
1.1000 + if (c.Decompose(d))
1.1001 + {
1.1002 + info.Append(_L(" d="));
1.1003 + for (int i = 0; i < d.Length(); i++)
1.1004 + {
1.1005 + info.AppendNum((TUint)d[i],EHex);
1.1006 + if (i < d.Length() - 1)
1.1007 + info.Append(',');
1.1008 + }
1.1009 + }
1.1010 +
1.1011 + if (!c.IsPrint())
1.1012 + info.Append(_L(" np"));
1.1013 + if (!c.IsGraph())
1.1014 + info.Append(_L(" ng"));
1.1015 + }
1.1016 +
1.1017 +void test_unicode_char(TUint c,const TDesC& desired_info,const TDesC& name)
1.1018 + {
1.1019 + test.Next(name);
1.1020 + TBuf<128> info;
1.1021 + char_info_to_string(info,c);
1.1022 +// test.Printf(_L("code=0x%x desired='%S' actual='%S'\n"),c,&desired_info,&info);
1.1023 +// if (info != desired_info)
1.1024 +// test.Printf(_L(" (mismatch!)\n"));
1.1025 + test(info == desired_info);
1.1026 + }
1.1027 +
1.1028 +void test_unicode_chars()
1.1029 + {
1.1030 + test_unicode_char(0x0000,_L("Cc b=BN np ng"),_L("NULL"));
1.1031 + test_unicode_char(0x000A,_L("Cc b=B np ng"),_L("linefeed"));
1.1032 + test_unicode_char(0x0020,_L("Zs b=WS w=3 ng"),_L("space"));
1.1033 + test_unicode_char(0x0028,_L("Ps b=ON m w=3"),_L("("));
1.1034 + test_unicode_char(0x0038,_L("Nd b=EN n=8 w=3"),_L("8"));
1.1035 + test_unicode_char(0x0040,_L("Po b=ON w=3"),_L("@"));
1.1036 + test_unicode_char(0x0062,_L("Ll u=42 w=3"),_L("b"));
1.1037 + test_unicode_char(0x0042,_L("Lu l=62 w=3"),_L("B"));
1.1038 + test_unicode_char(0x0067,_L("Ll u=47 w=3"),_L("g"));
1.1039 + test_unicode_char(0x0047,_L("Lu l=67 w=3"),_L("G"));
1.1040 + test_unicode_char(0x0077,_L("Ll u=57 w=3"),_L("w"));
1.1041 + test_unicode_char(0x0057,_L("Lu l=77 w=3"),_L("W"));
1.1042 + test_unicode_char(0x00A0,_L("Zs b=CS ng"),_L("non-break space"));
1.1043 + test_unicode_char(0x00BC,_L("No b=ON n=-2"),_L("1/4"));
1.1044 + test_unicode_char(0x00DD,_L("Lu l=fd d=59,301"),_L("Y acute"));
1.1045 + test_unicode_char(0x00FF,_L("Ll u=178 d=79,308"),_L("y umlaut"));
1.1046 + test_unicode_char(0x0178,_L("Lu l=ff d=59,308"),_L("Y umlaut"));
1.1047 + test_unicode_char(0x01C4,_L("Lu t=1c5 l=1c6"),_L("DZ caron"));
1.1048 + test_unicode_char(0x01C5,_L("Lt u=1c4 l=1c6"),_L("Dz caron"));
1.1049 + test_unicode_char(0x01C6,_L("Ll u=1c4 t=1c5"),_L("dz caron"));
1.1050 + test_unicode_char(0x022A,_L("Lu l=22b d=4f,308,304"),_L("O with diaeresis and macron"));
1.1051 + test_unicode_char(0x0267,_L("Ll"),_L("latin small letter heng with hook"));
1.1052 + test_unicode_char(0x02b0,_L("Lm"),_L("modifier letter small h"));
1.1053 + test_unicode_char(0x030a,_L("Mn b=NSM c=230"),_L("combining ring above"));
1.1054 + test_unicode_char(0x03a8,_L("Lu l=3c8"),_L("Greek Psi"));
1.1055 + test_unicode_char(0x03c8,_L("Ll u=3a8"),_L("Greek psi"));
1.1056 + test_unicode_char(0x0401,_L("Lu l=451 d=415,308"),_L("Cyrillic IO"));
1.1057 + test_unicode_char(0x0451,_L("Ll u=401 d=435,308"),_L("Cyrillic io"));
1.1058 + test_unicode_char(0x04e0,_L("Lu l=4e1"),_L("Cyrillic Abkhasian Dze"));
1.1059 + test_unicode_char(0x04e1,_L("Ll u=4e0"),_L("Cyrillic Abkhasian dze"));
1.1060 + test_unicode_char(0x05A8,_L("Mn b=NSM c=230"),_L("Hebrew accent qadma"));
1.1061 + test_unicode_char(0x05D2,_L("Lo b=R"),_L("Hebrew letter gimel"));
1.1062 + test_unicode_char(0x05F0,_L("Lo b=R"),_L("Hebrew ligature Yiddish double vav"));
1.1063 + test_unicode_char(0x0627,_L("Lo b=AL"),_L("Arabic letter alef"));
1.1064 + test_unicode_char(0x0660,_L("Nd b=AN n=0"),_L("Arabic-Indic digit 0"));
1.1065 + test_unicode_char(0x0669,_L("Nd b=AN n=9"),_L("Arabic-Indic digit 9"));
1.1066 + test_unicode_char(0x06F4,_L("Nd b=EN n=4"),_L("Extended Arabic-Indic digit 4"));
1.1067 + test_unicode_char(0x0B9C,_L("Lo"),_L("Tamil letter ja"));
1.1068 + test_unicode_char(0x0BCD,_L("Mn b=NSM c=9"),_L("Tamil sign virama"));
1.1069 + test_unicode_char(0x0BF0,_L("No n=10"),_L("Tamil number 10"));
1.1070 + test_unicode_char(0x0BF1,_L("No n=100"),_L("Tamil number 100"));
1.1071 + test_unicode_char(0x0BF2,_L("No n=1000"),_L("Tamil number 1000"));
1.1072 + test_unicode_char(0x0E3F,_L("Sc b=ET"),_L("Thai currency symbol baht"));
1.1073 + test_unicode_char(0x0ED5,_L("Nd n=5"),_L("Lao digit 5"));
1.1074 + test_unicode_char(0x104E,_L("Po"),_L("Myanmar symbol aforementioned"));
1.1075 + test_unicode_char(0x124B,_L("Lo"),_L("Ethiopic syllable QWAA"));
1.1076 + test_unicode_char(0x137C,_L("No n=10000"),_L("Ethiopic number 10000"));
1.1077 + test_unicode_char(0x217F,_L("Nl u=216f n=1000"),_L("small Roman numeral 1000"));
1.1078 + test_unicode_char(0x2180,_L("Nl n=1000"),_L("Roman numeral 1000 CD"));
1.1079 + test_unicode_char(0x2181,_L("Nl n=5000"),_L("Roman numeral 5000"));
1.1080 + test_unicode_char(0x2182,_L("Nl n=10000"),_L("Roman numeral 10000"));
1.1081 + test_unicode_char(0x2208,_L("Sm b=ON m"),_L("element of"));
1.1082 + test_unicode_char(0x2248,_L("Sm b=ON m"),_L("almost equal to"));
1.1083 + test_unicode_char(0x3000,_L("Zs b=WS w=4 ng"),_L("ideographic space"));
1.1084 + test_unicode_char(0x3030,_L("Pd b=ON w=4"),_L("wavy dash"));
1.1085 + test_unicode_char(0x305F,_L("Lo w=4"),_L("Hiragana ta"));
1.1086 + test_unicode_char(0x3060,_L("Lo w=4 d=305f,3099"),_L("Hiragana da"));
1.1087 + test_unicode_char(0x3099,_L("Mn b=NSM c=8 w=4"),_L("combining Katakana-Hiragana voiced sound mark"));
1.1088 + test_unicode_char(0x30B3,_L("Lo w=4"),_L("Katakana ko"));
1.1089 + test_unicode_char(0x30B4,_L("Lo w=4 d=30b3,3099"),_L("Katakana go"));
1.1090 + test_unicode_char(0x51FF,_L("Lo w=4"),_L("CJK ideograph 51FF"));
1.1091 + test_unicode_char(0x52FF,_L("Lo w=4"),_L("CJK ideograph 52FF"));
1.1092 + test_unicode_char(0xCEFF,_L("Lo w=4"),_L("Hangul syllable CEFF"));
1.1093 + test_unicode_char(0xFF17,_L("Nd b=EN n=7 w=2"),_L("fullwidth digit 7"));
1.1094 + test_unicode_char(0xFF33,_L("Lu l=ff53 w=2"),_L("fullwidth S"));
1.1095 + test_unicode_char(0xFF53,_L("Ll u=ff33 w=2"),_L("fullwidth s"));
1.1096 + test_unicode_char(0xFF85,_L("Lo w=1"),_L("halfwidth Katakana na"));
1.1097 + test_unicode_char(0xFFE1,_L("Sc b=ET w=2"),_L("fullwidth pound sign"));
1.1098 + test_unicode_char(0xE000, _L("Co"), _L("End user private use character"));
1.1099 + test_unicode_char(0xE3FF, _L("Co"), _L("End user private use character"));
1.1100 + test_unicode_char(0xE400, _L("Co"), _L("Corporate private use character"));
1.1101 + test_unicode_char(0xF6DA, _L("Co np ng"), _L("Corporate private use character - Java string marker"));
1.1102 + test_unicode_char(0xF6DB, _L("Co"), _L("Corporate private use character - Replacement character"));
1.1103 + test_unicode_char(0xF6DC, _L("Co np ng"), _L("Corporate private use character - switch to next"));
1.1104 + test_unicode_char(0xF6DD, _L("Co np ng"), _L("Corporate private use character - switch to previous"));
1.1105 + test_unicode_char(0xF6DB, _L("Co"), _L("Corporate private use character - Latin superscript y"));
1.1106 + test_unicode_char(0xF6FF, _L("Co"), _L("Corporate private use character - Alarm bell"));
1.1107 + test_unicode_char(0xF700, _L("Co np ng"), _L("Corporate private use character - Key code"));
1.1108 + test_unicode_char(0xF8FF, _L("Co np ng"), _L("Corporate private use character - Key code"));
1.1109 +
1.1110 + // CR1080 - Testing additional Indic Chars
1.1111 + // Test properties of new Indic characters added in CR1080, and also the properties of
1.1112 + // existing characters immediately preceding and proceding the new characters, to test
1.1113 + // for any regression.
1.1114 + test_unicode_char(0x0903, _L("Mc"), _L("DEVANAGARI SIGN VISARGA")); // Existing
1.1115 + test_unicode_char(0x0904, _L("Lo"), _L("DEVANAGARI LETTER SHORT A")); // New
1.1116 + test_unicode_char(0x0905, _L("Lo"), _L("DEVANAGARI LETTER A")); // Existing
1.1117 +
1.1118 + test_unicode_char(0x0970, _L("Po"), _L("DEVANAGARI ABBREVIATION SIGN")); // Existing
1.1119 + test_unicode_char(0x097B, _L("Lo"), _L("DEVANAGARI LETTER GGA")); // New
1.1120 + test_unicode_char(0x097C, _L("Lo"), _L("DEVANAGARI LETTER JJA")); // New
1.1121 + test_unicode_char(0x097D, _L("Lo"), _L("DEVANAGARI LETTER GLOTTAL STOP")); // New
1.1122 + test_unicode_char(0x097E, _L("Lo"), _L("DEVANAGARI LETTER DDDA")); // New
1.1123 + test_unicode_char(0x097F, _L("Lo"), _L("DEVANAGARI LETTER BBA")); // New
1.1124 + test_unicode_char(0x0981, _L("Mn b=NSM"), _L("BENGALI SIGN CANDRABINDU")); // Existing
1.1125 +
1.1126 + test_unicode_char(0x09BC, _L("Mn b=NSM c=7"), _L("BENGALI SIGN NUKTA")); // Existing
1.1127 + test_unicode_char(0x09BD, _L("Lo"), _L("BENGALI SIGN AVAGRAHA")); // New
1.1128 + test_unicode_char(0x09BE, _L("Mc"), _L("BENGALI VOWEL SIGN AA")); // Existing
1.1129 +
1.1130 + test_unicode_char(0x09CD, _L("Mn b=NSM c=9"), _L("BENGALI SIGN VIRAMA")); // Existing
1.1131 + test_unicode_char(0x09CE, _L("Lo"), _L("BENGALI LETTER KHANDA TA")); // New
1.1132 + test_unicode_char(0x09D7, _L("Mc"), _L("BENGALI AU LENGTH MARK")); // Existing
1.1133 +
1.1134 + test_unicode_char(0x09FA, _L("So"), _L("BENGALI ISSHAR")); // Existing
1.1135 + test_unicode_char(0x0A01, _L("Mn b=NSM"), _L("GURMUKHI SIGN ADAK BINDI")); // New
1.1136 + test_unicode_char(0x0A02, _L("Mn b=NSM"), _L("GURMUKHI SIGN BINDI")); // Existing
1.1137 + test_unicode_char(0x0A03, _L("Mc"), _L("GURMUKHI SIGN VISARGA")); // New
1.1138 + test_unicode_char(0x0A05, _L("Lo"), _L("GURMUKHI LETTER A")); // Existing
1.1139 +
1.1140 + test_unicode_char(0x0A8B, _L("Lo"), _L("GUJARATI LETTER VOCALIC R")); // Existing
1.1141 + test_unicode_char(0x0A8C, _L("Lo"), _L("GUJARATI LETTER VOCALIC L")); // New
1.1142 + test_unicode_char(0x0A8D, _L("Lo"), _L("GUJARATI VOWEL CANDRA E")); // Existing
1.1143 +
1.1144 + test_unicode_char(0x0AE0, _L("Lo"), _L("GUJARATI LETTER VOCALIC RR")); // Existing
1.1145 + test_unicode_char(0x0AE1, _L("Lo"), _L("GUJARATI LETTER VOCALIC LL")); // New
1.1146 + test_unicode_char(0x0AE2, _L("Mn b=NSM"), _L("GUJARATI VOWEL SIGN VOCALIC L")); // New
1.1147 + test_unicode_char(0x0AE3, _L("Mn b=NSM"), _L("GUJARATI VOWEL SIGN VOCALIC LL")); // New
1.1148 + test_unicode_char(0x0AE6, _L("Nd n=0"), _L("GUJARATI DIGIT ZERO")); // Existing
1.1149 +
1.1150 + test_unicode_char(0x0AEF, _L("Nd n=9"), _L("GUJARATI DIGIT NINE")); // Existing
1.1151 + test_unicode_char(0x0AF1, _L("Sc b=ET"), _L("GUJARATI RUPEE SIGN")); // New
1.1152 + test_unicode_char(0x0B01, _L("Mn b=NSM"), _L("ORIYA SIGN CANDRABINDU")); // Existing
1.1153 +
1.1154 + test_unicode_char(0x0B33, _L("Lo"), _L("ORIYA LETTER LLA")); // Existing
1.1155 + test_unicode_char(0x0B35, _L("Lo"), _L("ORIYA LETTER VA")); // New
1.1156 + test_unicode_char(0x0B36, _L("Lo"), _L("ORIYA LETTER SHA")); // Existing
1.1157 +
1.1158 + test_unicode_char(0x0B70, _L("So"), _L("ORIYA ISSHAR")); // Existing
1.1159 + test_unicode_char(0x0B71, _L("Lo"), _L("ORIYA LETTER WA")); // New
1.1160 + test_unicode_char(0x0B82, _L("Mn b=NSM"), _L("TAMIL SIGN ANUSVARA")); // Existing
1.1161 +
1.1162 + test_unicode_char(0x0BB5, _L("Lo"), _L("TAMIL LETTER VA")); // Existing
1.1163 + test_unicode_char(0x0BB6, _L("Lo"), _L("TAMIL LETTER SHA")); // New
1.1164 + test_unicode_char(0x0BB7, _L("Lo"), _L("TAMIL LETTER SSA")); // Existing
1.1165 +
1.1166 + test_unicode_char(0x0BD7, _L("Mc"), _L("TAMIL AU LENGTH MARK")); // Existing
1.1167 + test_unicode_char(0x0BE6, _L("Nd n=0"), _L("TAMIL DIGIT ZERO")); // New
1.1168 + test_unicode_char(0x0BE7, _L("Nd n=1"), _L("TAMIL DIGIT ZERO")); // Existing
1.1169 +
1.1170 + test_unicode_char(0x0BF2, _L("No n=1000"), _L("TAMIL NUMBER ONE THOUSAND"));// Existing
1.1171 + test_unicode_char(0x0BF3, _L("So b=ON"), _L("TAMIL DAY SIGN")); // New
1.1172 + test_unicode_char(0x0BF4, _L("So b=ON"), _L("TAMIL MONTH SIGN")); // New
1.1173 + test_unicode_char(0x0BF5, _L("So b=ON"), _L("TAMIL YEAR SIGN")); // New
1.1174 + test_unicode_char(0x0BF6, _L("So b=ON"), _L("TAMIL DEBIT SIGN")); // New
1.1175 + test_unicode_char(0x0BF7, _L("So b=ON"), _L("TAMIL CREDIT SIGN")); // New
1.1176 + test_unicode_char(0x0BF8, _L("So b=ON"), _L("TAMIL AS ABOVE SIGN")); // New
1.1177 + test_unicode_char(0x0BF9, _L("Sc b=ET"), _L("TAMIL RUPEE SIGN")); // New
1.1178 + test_unicode_char(0x0BFA, _L("So b=ON"), _L("TAMIL NUMBER SIGN")); // New
1.1179 + test_unicode_char(0x0C01, _L("Mc"), _L("TELUGU SIGN CANDRABINDU")); // Existing
1.1180 +
1.1181 + test_unicode_char(0x0CB9, _L("Lo"), _L("KANNADA LETTER HA")); // Existing
1.1182 + test_unicode_char(0x0CBC, _L("Mn b=NSM c=7"), _L("KANNADA SIGN NUKTA")); // New
1.1183 + test_unicode_char(0x0CBD, _L("Lo"), _L("KANNADA SIGN AVAGRAHA")); // New
1.1184 + test_unicode_char(0x0CBE, _L("Mc"), _L("KANNADA VOWEL SIGN AA")); // Existing
1.1185 +
1.1186 + test_unicode_char(0x0CE1, _L("Lo"), _L("KANNADA LETTER VOCALIC LL")); // Existing
1.1187 + test_unicode_char(0x0CE2, _L("Mn b=NSM"), _L("KANNADA VOWEL SIGN VOCALIC L")); // New
1.1188 + test_unicode_char(0x0CE3, _L("Mn b=NSM"), _L("KANNADA VOWEL SIGN VOCALIC LL")); // New
1.1189 + test_unicode_char(0x0CE6, _L("Nd n=0"), _L("KANNADA DIGIT ZERO")); // Existing
1.1190 +
1.1191 + test_unicode_char(0x0CEF, _L("Nd n=9"), _L("KANNADA DIGIT NINE")); // Existing
1.1192 + test_unicode_char(0x0CF1, _L("So b=ON"), _L("KANNADA SIGN JIHVAMULIYA")); // New
1.1193 + test_unicode_char(0x0CF2, _L("So b=ON"), _L("KANNADA SIGN UPADHMANIYA")); // New
1.1194 + test_unicode_char(0x0D02, _L("Mc"), _L("MALAYALAM SIGN ANUSVARA")); // Existing
1.1195 +
1.1196 + test_unicode_char(0x0B83, _L("Lo"), _L("TAMIL SIGN VISARGA")); // Modified
1.1197 + test_unicode_char(0x0CBF, _L("Mn"), _L("KANNADA VOWEL SIGN I")); // Modified
1.1198 + test_unicode_char(0x0CC6, _L("Mn"), _L("KANNADA VOWEL SIGN E")); // Modified
1.1199 +
1.1200 + // Unicode 5.0 specific
1.1201 + test_unicode_char(0x0220, _L("Lu l=19e"), _L("LATIN CAPITAL LETTER N WITH LONG RIGHT LEG")); // New
1.1202 + test_unicode_char(0x0294, _L("Lo"), _L("LATIN LETTER GLOTTAL STOP")); // Modified
1.1203 + test_unicode_char(0x10400, _L("Lu l=10428"), _L("DESERET CAPITAL LETTER LONG I")); // out BMP fold
1.1204 + // Don't test those title case equal to upper case. See TUnicode::GetTitleCase().
1.1205 + //test_unicode_char(0x10428, _L("Ll u=10400 t=10400"), _L("DESERET SMALL LETTER LONG I")); // out BMP fold
1.1206 + test_unicode_char(0x10428, _L("Ll u=10400"), _L("DESERET SMALL LETTER LONG I")); // out BMP fold
1.1207 + test_unicode_char(0x2F85B, _L("Lo w=4 d=58f7"), _L("CJK COMPATIBILITY IDEOGRAPH-2F85B")); // New
1.1208 + }
1.1209 +
1.1210 +void test_unicode_collation(const TDesC& x,const TDesC& y,TInt desired_order,
1.1211 + TInt level = 3,const TCollationMethod* method = NULL)
1.1212 + {
1.1213 + TInt order = x.CompareC(y,level,method);
1.1214 +
1.1215 + // Normalise order to -1, 0 or 1.
1.1216 + if (order < 0)
1.1217 + order = -1;
1.1218 + else if (order > 0)
1.1219 + order = 1;
1.1220 +
1.1221 + test(order == desired_order);
1.1222 + }
1.1223 +
1.1224 +static const TUint32 TheSwedishKey[] =
1.1225 + {
1.1226 + 0x8f60109,0x8f70109,0x8f80109,0x8f60121,0x8f70121,0x8f80121,0x8dd0109,0x8dd0121,
1.1227 + 0x8c50121,0x8c50109,
1.1228 + };
1.1229 +
1.1230 +static const TUint32 TheSwedishIndex[] =
1.1231 + {
1.1232 + 0x570008,0x770009,
1.1233 + };
1.1234 +
1.1235 +static const TUint16 TheSwedishStringElement[] =
1.1236 + {
1.1237 + 0x2,0x61,0x30a,0x2,0x61,0x308,0x2,0x6f,
1.1238 + 0x308,0x2,0x41,0x30a,0x2,0x41,0x308,0x2,
1.1239 + 0x4f,0x308,0x2,0x75,0x308,0x2,0x55,0x308,
1.1240 + };
1.1241 +
1.1242 +static const TUint32 TheSwedishStringIndex[] =
1.1243 + {
1.1244 + 0xc0004,0x90003,0xf0005,0x150007,0x30001,0x0,0x60002,0x120006,
1.1245 + };
1.1246 +
1.1247 +static const TCollationKeyTable TheSwedishTable =
1.1248 + { TheSwedishKey, TheSwedishIndex, 2, TheSwedishStringElement, TheSwedishStringIndex, 8 };
1.1249 +
1.1250 +static const TCollationMethod TheSwedishMethod =
1.1251 + { 0, NULL, &TheSwedishTable, 0 };
1.1252 +
1.1253 +static const TCollationMethod TheSwapCaseMethod =
1.1254 + { 0, NULL, NULL, TCollationMethod::ESwapCase };
1.1255 +
1.1256 +static const TCollationMethod TheFoldCaseMethod =
1.1257 + { 0, NULL, NULL, TCollationMethod::EFoldCase };
1.1258 +
1.1259 +static const TUint32 TheKanaKey[] =
1.1260 + {
1.1261 + 0xc949,0xca09,0x2010f,0x20113,0x4010b,0x4010f,0x5010b,0x5010f,
1.1262 + 0x8010b,0x8010f,0xa010f,0xa014b,0xc010b,0xc010f,0xe010b,0xe010f,
1.1263 + 0xe013f,0x10010b,0x10010f,0x12010b,0x12010f,0x14c90b,0x14c90f,0x16ca0b,
1.1264 + 0x16ca0f,0x17010b,0x18030f,0x1a060b,0x1a060f,0x1c160f,0x1e0d0b,0x1e0d0f,
1.1265 + 0x20290f,0x22020b,0x22020f,0x24010d,0x28010d,0x2c010d,0x2e010d,0x30010d,
1.1266 + 0x32010d,0x34010d,0x36010b,0x36010f,0x38010f,0x3a010f,0x3c0109,0x3c010d,
1.1267 + 0x3e0109,0x3e010d,0x40010d,0x400109,0x42010d,0x440109,0x44010d,0x46010d,
1.1268 + 0x48010d,0x4a010f,0x4c010f,0x4e010b,0x4f010b,0x50010b,0x50010f,0x52010b,
1.1269 + 0x52010f,0x54010b,0x56010b,0x58010b,0x58010f,0x5a010b,0x5a010f,0x5c010b,
1.1270 + 0x5c010f,0x5e010b,0x5e010f,0x60010b,0x62010b,0x64010b,0x66010b,0x68010f,
1.1271 + 0x68010b,0x6a010f,0x6a010b,0x6c010b,0x6e010b,0x6f010b,0x70010b,0x72010b,
1.1272 + 0x72010f,0x74010b,0x74010f,0x76010f,0x78010f,0x7a010f,0x7c010b,0x7c010f,
1.1273 + 0x80010b,0x80010f,0x82010b,0x82010f,0x84010f,0x86010f,0x88010f,0x8a010f,
1.1274 + 0x8c010b,0x8e010f,0x90010f,0x92010f,0x94010d,0x960109,0x96010d,0x980109,
1.1275 + 0x98010d,0x9a010d,0x9c0109,0x9c010d,0x9e010b,0x9e010f,0x100010b,0x100010f,
1.1276 + 0x102010b,0x102010f,0x104010b,0x104010f,0x106010b,0x106010f,0x107010f,0x108010f,
1.1277 + 0x109010f,0x10a010f,0x10b010f,0x10c010f,0x10d010f,0x10e010f,0x10f010f,0x110010f,
1.1278 + 0x111010f,0x112010f,0x113010f,0x114010f,0x115010f,0x116010f,0x117010f,0x118010f,
1.1279 + 0x119010f,0x11a010f,0x11b010f,0x11c010f,0x11d010f,0x11e010f,0x11f010f,0x120010f,
1.1280 + 0x121010f,0x122010f,0x123010f,0x124010f,0x125010f,0x126010f,0x127010f,0x128010f,
1.1281 + 0x129010f,0x12a010f,0x12b010f,0x12c010f,0x12d010f,0x12e010f,0x12f010f,0x130010f,
1.1282 + 0x131010f,0x132010f,0x133010f,0x134010f,0x135010f,0x136010f,0x137010f,0x138010f,
1.1283 + 0x139010f,0x13b010f,0x13c010d,0x13d010d,0x13e010f,0x13f010f,0x140010f,0x141010f,
1.1284 + 0x142010f,0x143010d,0x144010d,0x145010d,0x146010d,0x147010d,0x148010d,0x149010d,
1.1285 + 0x14a010d,0x14b010d,0x14c010d,0x14d010d,0x14e010d,0x14f010d,0x150010d,0x151010d,
1.1286 + 0x152010d,0x153010d,0x154010d,0x155010d,0x156010d,0x157010d,0x158010d,0x159010d,
1.1287 + 0x15a010d,0x15b010d,0x15c010d,0x15d010d,0x15e010d,0x15f010d,0x160010f,0x161010f,
1.1288 + 0x162010f,0x163010f,0x164010f,0x165010f,0x166010f,0x167010f,0x168010f,0x169010f,
1.1289 + 0x16a010f,0x16b010f,0x16c010f,0x16d010f,0x16e010f,0x16f010f,0x170010f,0x171010f,
1.1290 + 0x172010f,0x174010f,0x175010f,0x176010f,0x177010f,0x178010f,0x179010f,0x17a010d,
1.1291 + 0x17b010d,0x17c010d,0x17d0119,0x17e0119,0x17f0119,0x1800119,0x1810119,0x182010d,
1.1292 + 0x183010d,0x184010d,0x185010d,0x186010d,0x187010d,0x189010f,0x18a010f,0x18b010f,
1.1293 + 0x18c010f,0x18d0111,0x18e0111,0x18f0111,0x1900111,0x1910111,0x1920111,0x1930111,
1.1294 + 0x1940111,0x1950111,0x1960111,0x197010f,0x198010f,0x199010b,0x199010f,0x6c50109,
1.1295 + 0x6c60109,0x6c70109,0x6c80109,0x6c90109,0x6ca0109,0x6cb0109,0x6cc0109,0x6cd0109,
1.1296 + 0x6ce0109,0x6cf0109,0x6cf010d,0x6cf0121,0x6cf0125,0x6e30109,0x6e3010d,0x6e30121,
1.1297 + 0x6e30125,0x6fb0109,0x6fb010d,0x6fb0121,0x6fb0125,0x7070109,0x707010d,0x7070121,
1.1298 + 0x7070125,0x72f0109,0x72f010d,0x72f0121,0x72f0125,0x75b0109,0x75b010d,0x75b0121,
1.1299 + 0x75b0125,0x7630109,0x763010d,0x7630121,0x7630125,0x7830109,0x783010d,0x7830121,
1.1300 + 0x7830125,0x79d0109,0x79d010d,0x79d0121,0x79d0125,0x7b10109,0x7b1010d,0x7b10121,
1.1301 + 0x7b10125,0x7c10109,0x7c1010d,0x7c10121,0x7c10125,0x7cd0109,0x7cd010d,0x7cd0121,
1.1302 + 0x7cd0125,0x7f50109,0x7f5010d,0x7f50121,0x7f50125,0x7fd0109,0x7fd010d,0x7fd0121,
1.1303 + 0x7fd0125,0x8150109,0x815010d,0x8150121,0x8150125,0x82d0109,0x82d010d,0x82d0121,
1.1304 + 0x82d0125,0x8390109,0x839010d,0x8390121,0x8390125,0x8450109,0x845010d,0x8450121,
1.1305 + 0x8450125,0x86d0109,0x86d010d,0x86d0121,0x86d0125,0x8890109,0x889010d,0x8890121,
1.1306 + 0x8890125,0x8ad0109,0x8ad010d,0x8ad0121,0x8ad0125,0x8c50109,0x8c5010d,0x8c50121,
1.1307 + 0x8c50125,0x8d10109,0x8d1010d,0x8d10121,0x8d10125,0x8d90109,0x8d9010d,0x8d90121,
1.1308 + 0x8d90125,0x8dd0109,0x8dd010d,0x8dd0121,0x8dd0125,0x8e90109,0x8e9010d,0x8e90121,
1.1309 + 0x8e90125,0x10200139,0x10200135,0x10200149,0x10200141,0x10200145,0x1020013d,0x10260139,
1.1310 + 0x10260135,0x10260149,0x10260141,0x10260145,0x1026013d,0x102c0139,0x102c0135,0x102c0149,
1.1311 + 0x102c0141,0x102c0145,0x102c013d,0x10330139,0x10330135,0x10330149,0x10330141,0x10330145,
1.1312 + 0x1033013d,0x10390139,0x10390135,0x10390149,0x10390141,0x10390145,0x1039013d,0x103f0135,
1.1313 + 0x103f0145,0x103f013d,0x10440135,0x10440145,0x1044013d,0x10490135,0x10490145,0x1049013d,
1.1314 + 0x104e0135,0x104e0145,0x104e013d,0x10530135,0x10530145,0x1053013d,0x10580135,0x10580145,
1.1315 + 0x1058013d,0x105d0135,0x105d0145,0x105d013d,0x10620135,0x10620145,0x1062013d,0x10670135,
1.1316 + 0x10670145,0x1067013d,0x106c0135,0x106c0145,0x106c013d,0x10710135,0x10710145,0x1071013d,
1.1317 + 0x10760135,0x10760145,0x1076013d,0x107b0139,0x107b0135,0x107b0149,0x107b0141,0x107b0145,
1.1318 + 0x107b013d,0x10830135,0x10830145,0x1083013d,0x10880135,0x10880145,0x1088013d,0x108d0135,
1.1319 + 0x108d0145,0x108d013d,0x10900135,0x10900145,0x1090013d,0x10930135,0x10930145,0x1093013d,
1.1320 + 0x10960135,0x10960145,0x1096013d,0x10990135,0x10990145,0x1099013d,0x109c0135,0x109c0145,
1.1321 + 0x109c013d,0x10a30135,0x10a30145,0x10a3013d,0x10aa0135,0x10aa0145,0x10aa013d,0x10b10135,
1.1322 + 0x10b10145,0x10b1013d,0x10b80135,0x10b80145,0x10b8013d,0x10bf0135,0x10bf0145,0x10bf013d,
1.1323 + 0x10c20135,0x10c20145,0x10c2013d,0x10c50135,0x10c50145,0x10c5013d,0x10c80135,0x10c80145,
1.1324 + 0x10c8013d,0x10cb0135,0x10cb0145,0x10cb013d,0x10ce0139,0x10ce0135,0x10ce0149,0x10ce0141,
1.1325 + 0x10ce0145,0x10ce013d,0x10d40139,0x10d40135,0x10d40149,0x10d40141,0x10d40145,0x10d4013d,
1.1326 + 0x10da0139,0x10da0135,0x10da0149,0x10da0141,0x10da0145,0x10da013d,0x10e00135,0x10e00145,
1.1327 + 0x10e0013d,0x10e30135,0x10e30145,0x10e3013d,0x10e60135,0x10e60145,0x10e6013d,0x10e90135,
1.1328 + 0x10e90145,0x10e9013d,0x10ec0135,0x10ec0145,0x10ec013d,0x10ef0139,0x10ef0135,0x10ef0149,
1.1329 + 0x10ef0145,0x10ef013d,0x10f40135,0x10f40145,0x10f60135,0x10f60145,0x10f80135,0x10f80145,
1.1330 + 0x10f8013d,0x10fb0135,0x10fb0145,0x10fb013d,
1.1331 + };
1.1332 +
1.1333 +static const TUint32 TheKanaIndex[] =
1.1334 + {
1.1335 + 0x210013,0x22010d,0x230076,0x24006f,0x250074,0x260078,0x270019,0x28003d,
1.1336 + 0x29003f,0x2a007a,0x2b0057,0x2c0006,0x2d0059,0x2e0008,0x2f002e,0x30010f,
1.1337 + 0x310110,0x320111,0x330112,0x340113,0x350114,0x360115,0x370116,0x380117,
1.1338 + 0x390118,0x3a000c,0x3b000e,0x3c0060,0x3d005e,0x3e0062,0x3f0011,0x40007c,
1.1339 + 0x41011b,0x42011f,0x430123,0x440127,0x45012b,0x46012f,0x470133,0x480137,
1.1340 + 0x49013b,0x4a013f,0x4b0143,0x4c0147,0x4d014b,0x4e014f,0x4f0153,0x500157,
1.1341 + 0x51015b,0x52015f,0x530163,0x540167,0x55016b,0x56016f,0x570173,0x580177,
1.1342 + 0x59017b,0x5a017f,0x5b0043,0x5c0030,0x5d0045,0x5e001e,0x5f0021,0x60001b,
1.1343 + 0x610119,0x62011d,0x630121,0x640125,0x650129,0x66012d,0x670131,0x680135,
1.1344 + 0x690139,0x6a013d,0x6b0141,0x6c0145,0x6d0149,0x6e014d,0x6f0151,0x700155,
1.1345 + 0x710159,0x72015d,0x730161,0x740165,0x750169,0x76016d,0x770171,0x780175,
1.1346 + 0x790179,0x7a017d,0x7b0047,0x7c0035,0x7d0049,0x7e0033,0xa20071,0xa30072,
1.1347 + 0xa5006d,0xa7007e,0xa8001d,0xb00069,0xb1005b,0xb4001a,0xb600b7,0xd7005c,
1.1348 + 0xf7005d,0x2010002d,0x2015002c,0x20180039,0x2019003a,0x201c003b,0x201d003c,0x202000b5,
1.1349 + 0x202100b6,0x20250038,0x20260037,0x203000b1,0x2032006a,0x2033006b,0x203b008c,0x2103006c,
1.1350 + 0x211600ef,0x212100f1,0x216000cc,0x216100cd,0x216200ce,0x216300cf,0x216400d0,0x216500d1,
1.1351 + 0x216600d2,0x216700d3,0x216800d4,0x216900d5,0x21700101,0x21710102,0x21720103,0x21730104,
1.1352 + 0x21740105,0x21750106,0x21760107,0x21770108,0x21780109,0x2179010a,0x2190008f,0x21910090,
1.1353 + 0x2192008e,0x21930091,0x21d2009e,0x21d4009f,0x220000a0,0x220200a5,0x220300a1,0x220700a6,
1.1354 + 0x22080093,0x220b0094,0x221100fe,0x2212005a,0x221a00ab,0x221d00ad,0x221e0066,0x221f00ff,
1.1355 + 0x222000a2,0x22250034,0x2227009b,0x2228009c,0x2229009a,0x222a0099,0x222b00af,0x222c00b0,
1.1356 + 0x222e00fd,0x22340066,0x223500ae,0x223d00ac,0x225200a8,0x226100a7,0x22660064,0x22670065,
1.1357 + 0x226a00a9,0x226b00aa,0x22820097,0x22830098,0x22860095,0x22870096,0x22a500a3,0x22bf0100,
1.1358 + 0x231200a4,0x246000b9,0x246100ba,0x246200bb,0x246300bc,0x246400bd,0x246500be,0x246600bf,
1.1359 + 0x246700c0,0x246800c1,0x246900c2,0x246a00c3,0x246b00c3,0x246c00c4,0x246d00c5,0x246e00c6,
1.1360 + 0x246f00c7,0x247000c8,0x247100c9,0x247200ca,0x247300cb,0x25a00087,0x25a10086,0x25b20089,
1.1361 + 0x25b30088,0x25bc008b,0x25bd008a,0x25c60085,0x25c70084,0x25cb0081,0x25ce0083,0x25cf0082,
1.1362 + 0x25ef00b8,0x26050080,0x2606007f,0x26400068,0x26420067,0x266a00b4,0x266d00b3,0x266f00b2,
1.1363 + 0x30010003,0x30020005,0x30030025,0x30050027,0x30060028,0x30070029,0x3008004b,0x3009004c,
1.1364 + 0x300a004d,0x300b004e,0x300c004f,0x300d0051,0x300e0053,0x300f0054,0x30100055,0x30110056,
1.1365 + 0x3012008d,0x30130092,0x30140041,0x30150042,0x301c0032,0x301d00ed,0x301f00ee,0x30410181,
1.1366 + 0x30420182,0x30430187,0x30440188,0x3045018d,0x3046018e,0x30470193,0x30480194,0x30490199,
1.1367 + 0x304a019a,0x304b019f,0x304d01a2,0x304f01a5,0x305101a8,0x305301ab,0x305501ae,0x305701b1,
1.1368 + 0x305901b4,0x305b01b7,0x305d01ba,0x305f01bd,0x306101c0,0x306301c3,0x306401c4,0x306601c9,
1.1369 + 0x306801cc,0x306a01cf,0x306b01d2,0x306c01d5,0x306d01d8,0x306e01db,0x306f01de,0x307201e1,
1.1370 + 0x307501e4,0x307801e7,0x307b01ea,0x307e01ed,0x307f01f0,0x308001f3,0x308101f6,0x308201f9,
1.1371 + 0x308301fc,0x308401fd,0x30850202,0x30860203,0x30870208,0x30880209,0x3089020e,0x308a0211,
1.1372 + 0x308b0214,0x308c0217,0x308d021a,0x308e021d,0x308f021e,0x30900222,0x30910224,0x30920226,
1.1373 + 0x30930229,0x30990000,0x309a0001,0x309b0016,0x309c0018,0x309d0024,0x30a10183,0x30a20185,
1.1374 + 0x30a30189,0x30a4018b,0x30a5018f,0x30a60191,0x30a70195,0x30a80197,0x30a9019b,0x30aa019d,
1.1375 + 0x30ab01a0,0x30ad01a3,0x30af01a6,0x30b101a9,0x30b301ac,0x30b501af,0x30b701b2,0x30b901b5,
1.1376 + 0x30bb01b8,0x30bd01bb,0x30bf01be,0x30c101c1,0x30c301c5,0x30c401c7,0x30c601ca,0x30c801cd,
1.1377 + 0x30ca01d0,0x30cb01d3,0x30cc01d6,0x30cd01d9,0x30ce01dc,0x30cf01df,0x30d201e2,0x30d501e5,
1.1378 + 0x30d801e8,0x30db01eb,0x30de01ee,0x30df01f1,0x30e001f4,0x30e101f7,0x30e201fa,0x30e301fe,
1.1379 + 0x30e40200,0x30e50204,0x30e60206,0x30e7020a,0x30e8020c,0x30e9020f,0x30ea0212,0x30eb0215,
1.1380 + 0x30ec0218,0x30ed021b,0x30ee021f,0x30ef0220,0x30f00223,0x30f10225,0x30f20227,0x30f3022a,
1.1381 + 0x30fb000a,0x30fc002b,0x30fd0023,0x323100f7,0x323200f8,0x323900f9,0x32a400f2,0x32a500f3,
1.1382 + 0x32a600f4,0x32a700f5,0x32a800f6,0x330300dc,0x330d00e0,0x331400d7,0x331800da,0x332200d8,
1.1383 + 0x332300e2,0x332600e1,0x332700db,0x332b00e3,0x333600dd,0x333b00e5,0x334900d6,0x334a00e4,
1.1384 + 0x334d00d9,0x335100de,0x335700df,0x337b00ec,0x337c00fc,0x337d00fb,0x337e00fa,0x338f00e9,
1.1385 + 0x339c00e6,0x339d00e7,0x339e00e8,0x33a100eb,0x33c400ea,0x33cd00f0,0x4edd0026,0xfe540010,
1.1386 + 0xff010014,0xff02010e,0xff030077,0xff040070,0xff050075,0xff060079,0xff07010c,0xff08003e,
1.1387 + 0xff090040,0xff0a007b,0xff0b0058,0xff0c0007,0xff0d005a,0xff0e0009,0xff0f002f,0xff1a000d,
1.1388 + 0xff1b000f,0xff1c0061,0xff1d005f,0xff1e0063,0xff1f0012,0xff20007d,0xff21011c,0xff220120,
1.1389 + 0xff230124,0xff240128,0xff25012c,0xff260130,0xff270134,0xff280138,0xff29013c,0xff2a0140,
1.1390 + 0xff2b0144,0xff2c0148,0xff2d014c,0xff2e0150,0xff2f0154,0xff300158,0xff31015c,0xff320160,
1.1391 + 0xff330164,0xff340168,0xff35016c,0xff360170,0xff370174,0xff380178,0xff39017c,0xff3a0180,
1.1392 + 0xff3b0044,0xff3c0031,0xff3d0046,0xff3e001f,0xff3f0022,0xff40001c,0xff41011a,0xff42011e,
1.1393 + 0xff430122,0xff440126,0xff45012a,0xff46012e,0xff470132,0xff480136,0xff49013a,0xff4a013e,
1.1394 + 0xff4b0142,0xff4c0146,0xff4d014a,0xff4e014e,0xff4f0152,0xff500156,0xff51015a,0xff52015e,
1.1395 + 0xff530162,0xff540166,0xff55016a,0xff56016e,0xff570172,0xff580176,0xff59017a,0xff5a017e,
1.1396 + 0xff5b0048,0xff5c0036,0xff5d004a,0xff5e0032,0xff610004,0xff620050,0xff630052,0xff640002,
1.1397 + 0xff65000b,0xff660228,0xff670184,0xff68018a,0xff690190,0xff6a0196,0xff6b019c,0xff6c01ff,
1.1398 + 0xff6d0205,0xff6e020b,0xff6f01c6,0xff70002a,0xff710186,0xff72018c,0xff730192,0xff740198,
1.1399 + 0xff75019e,0xff7601a1,0xff7701a4,0xff7801a7,0xff7901aa,0xff7a01ad,0xff7b01b0,0xff7c01b3,
1.1400 + 0xff7d01b6,0xff7e01b9,0xff7f01bc,0xff8001bf,0xff8101c2,0xff8201c8,0xff8301cb,0xff8401ce,
1.1401 + 0xff8501d1,0xff8601d4,0xff8701d7,0xff8801da,0xff8901dd,0xff8a01e0,0xff8b01e3,0xff8c01e6,
1.1402 + 0xff8d01e9,0xff8e01ec,0xff8f01ef,0xff9001f2,0xff9101f5,0xff9201f8,0xff9301fb,0xff940201,
1.1403 + 0xff950207,0xff96020d,0xff970210,0xff980213,0xff990216,0xff9a0219,0xff9b021c,0xff9c0221,
1.1404 + 0xff9d022b,0xff9e0015,0xff9f0017,0xffe00071,0xffe10073,0xffe2009d,0xffe30020,0xffe4010b,
1.1405 + 0xffe5006e,
1.1406 + };
1.1407 +
1.1408 +/*
1.1409 +Collation keys for the Hiragana and Katakana syllabaries, built by
1.1410 +running coltab on \loce32\japanese\source\japanese_basekeys.txt after deleting all CJK characters.
1.1411 +*/
1.1412 +static const TCollationKeyTable TheKanaTable =
1.1413 + { TheKanaKey, TheKanaIndex, 561, NULL, NULL, 0 };
1.1414 +
1.1415 +static const TCollationMethod TheKanaMethod =
1.1416 + { 0, NULL, &TheKanaTable, 0 };
1.1417 +
1.1418 +static const TCollationMethod TheSwapKanaMethod =
1.1419 + { 0, NULL, &TheKanaTable, TCollationMethod::ESwapKana };
1.1420 +
1.1421 +static const TUint32 TheQazKey[] =
1.1422 + {
1.1423 + 0x6d00121,0x6e40121,
1.1424 + };
1.1425 +
1.1426 +static const TUint32 TheQazIndex[] =
1.1427 + {
1.1428 + 0
1.1429 + };
1.1430 +
1.1431 +static const TUint16 TheQazStringElement[] =
1.1432 + {
1.1433 + 0x2,0x53,0x45,0x3,0x53,0x45,0x58,
1.1434 + };
1.1435 +
1.1436 +static const TUint32 TheQazStringIndex[] =
1.1437 + {
1.1438 + 0x0,0x30001,
1.1439 + };
1.1440 +
1.1441 +static const TCollationKeyTable TheQazTable =
1.1442 + { TheQazKey, TheQazIndex, 0, TheQazStringElement, TheQazStringIndex, 2 };
1.1443 +
1.1444 +// A bizarre collation method that sorts 'SE' between A and B and 'SEX' between B and C
1.1445 +static const TCollationMethod TheQazMethod =
1.1446 + { 0, NULL, &TheQazTable, 0 };
1.1447 +
1.1448 +// A collation method to sort accents starting at the end of the string, as in France
1.1449 +static const TCollationMethod TheAccentsBackwardsMethod =
1.1450 + { 0, NULL, NULL, TCollationMethod::EAccentsBackwards };
1.1451 +
1.1452 +void test_unicode_collations()
1.1453 + {
1.1454 + /*
1.1455 + Note: the curious method of getting values greater than 255 into the strings is needed
1.1456 + because GCC doesn't handle the \x notation properly: it zeroes the high byte, so
1.1457 + L"\x2011" puts the value 0x0011, not 0x2011, into the string.
1.1458 + */
1.1459 + TBuf<32> x, y;
1.1460 +
1.1461 + test.Next(_L("collation"));
1.1462 + test_unicode_collation(_L("SEZ"),_L("BZ"),-1,3,&TheQazMethod); // test 2-character combination 'SE'
1.1463 + test_unicode_collation(_L("SEXY"),_L("CY"),-1,3,&TheQazMethod); // test 3-character combination 'SEX'
1.1464 + test_unicode_collation(_L("Graham"),_L("Graham"),0); // equality
1.1465 + test_unicode_collation(_L("something"),_L(""),1); // something after nothing
1.1466 + test_unicode_collation(_L("inform"),_L("information"),-1); // prefixes come first
1.1467 + test_unicode_collation(_L("unicode"),_L("consortium"),1); // standard alphabetic ordering: lowercase
1.1468 + test_unicode_collation(_L("AARON"),_L("AARDVARK"),1); // standard alphabetic ordering: uppercase
1.1469 + test_unicode_collation(_L("AARON"),_L("AARDVARK"),1,0); // alphabetic ordering is significant at level 0
1.1470 + test_unicode_collation(_L("hello"),_L("Hello"),-1,3); // lowercase before uppercase
1.1471 + test_unicode_collation(_L("hello"),_L("Hello"),-1,3,&TheSwapKanaMethod);// swapping kana ordering doesn't affect case
1.1472 + test_unicode_collation(_L("hello"),_L("Hello"),1,3,&TheSwapCaseMethod); // uppercase before lowercase if ESwapCase used
1.1473 + test_unicode_collation(_L("hello"),_L("Hello"),0,2,&TheFoldCaseMethod); // uppercase = lowercase if EFoldCase used at level 2
1.1474 + test_unicode_collation(_L("hello"),_L("Hello"),-1,2); // case is significant at level 2
1.1475 + test_unicode_collation(_L("hello"),_L("Hello"),0,1); // ignore case at level 1
1.1476 + test_unicode_collation(_L("hello"),_L("[H E L L O !]"),0,1);// ignore punctuation and case at level 1
1.1477 + test_unicode_collation(_L("1234"),_L("abc"),-1); // digits before letters
1.1478 + x = _L("week day"); x[4] = 0x2011; // (week-day with non-breaking hyphen)
1.1479 + test_unicode_collation(x,_L("weekend"),-1); // ignore punctuation if letters differ; d < e
1.1480 + test_unicode_collation(x,_L("week-day"),1); // compare punctuation if otherwise equal
1.1481 + test_unicode_collation(x,_L("week-day"),0,2); // ignore difference between hyphens at level 2
1.1482 + test_unicode_collation(x,_L("Week-day"),-1); // case difference outweighs punctuation ordering
1.1483 + y = _L("a ngstro m"); y[1] = 0x30a; y[8] = 0x308; // (a<ring>ngstro<umlaut>m with piece accents)
1.1484 + test_unicode_collation(_L("\xe5ngstr\xf6m"),y,0); // base+accent = precomposed (a<ring>ngstro<umlaut>m)
1.1485 + test_unicode_collation(_L("Liege"),_L("Li\xe8ge"),-1); // unaccented before accented...
1.1486 + test_unicode_collation(_L("Liege"),_L("Li\xe8ge"),-1,1); // accents are significant at level 1
1.1487 + test_unicode_collation(_L("Liege"),_L("li\xe8ge"),-1); // accentuation outweighs case
1.1488 + test_unicode_collation(_L("Liege"),_L("li\xe8ge"),0,0); // ignore accents and case at level 0
1.1489 + test_unicode_collation(_L("\xe5ngstr\xf6m"),_L("zoo"),-1); // a-ring before z by default
1.1490 + test_unicode_collation(_L("\xe5ngstr\xf6m"),_L("zoo"),1,3,&TheSwedishMethod); // a-ring after z in Sweden
1.1491 + test_unicode_collation(_L("Antidisestablishmentarian"),_L("antidisestablishmentariac"),1);
1.1492 + // long strings that don't have identical prefixes
1.1493 + x = _L("\x304b\x306a"); y = _L("\x30ab\x30ca"); // 'kana' in Hiragana and Katakana
1.1494 + test_unicode_collation(x,y,-1,3,&TheKanaMethod); // Hiragana before Katakana
1.1495 + test_unicode_collation(x,y,1,3,&TheSwapKanaMethod); // Katakana before Hiragana if ESwapKana used
1.1496 + x = _L("p\xe9"L"ch\xe9"); y = _L("p\xea"L"che"); // x = pe<acute>che<acute>, y = pe<circumflex>che
1.1497 + test_unicode_collation(x,y,-1,3); // normal order; accents compared from start
1.1498 + test_unicode_collation(x,y,1,3,&TheAccentsBackwardsMethod); // reverse order; accents compared from end
1.1499 + test_unicode_collation(_L("aaAA"),_L("aAaA"),0,3,&TheFoldCaseMethod); // case folding should work even at level 3
1.1500 + test_unicode_collation(_L("\x2113"),_L("L"),1,3,&TheFoldCaseMethod); // script l and L should not be equal;
1.1501 + // script l before L because L folds to lower case,
1.1502 + // which sorts after secondary key type for script l
1.1503 + test_unicode_collation(_L("\x3c2"),_L("\x3c3"),-1,3); // Greek final and non-final sigma
1.1504 + test_unicode_collation(_L("\x3c2"),_L("\x3c3"),0,3,&TheFoldCaseMethod); // Greek final and non-final sigma
1.1505 + test_unicode_collation(_L("\xee0"),_L("\x4e00"),1,3); // undefined character after CJK character not in table
1.1506 + test_unicode_collation(_L("\xee0"),_L("\xef0"),-1,3); // undefined characters must differ
1.1507 + test_unicode_collation(_L("\xee0\xee1"),_L("\xef0"),-1,3); // undefined characters in Unicode order, not string length
1.1508 + test_unicode_collation(_L("\xd800\xdc00"),_L("\xceff"),1,3); // character U+10000 (using surrogates)
1.1509 + // after Hangul character not in table
1.1510 + }
1.1511 +
1.1512 +// range of characters newly added or changed in Unicode 5.0
1.1513 +// Inside BMP
1.1514 +static const TUint32 Unicode5NewCharRange[] =
1.1515 + {
1.1516 + 0x0220, 0x0221, 0x0234, 0x024F, 0x02AE, 0x02AF, 0x02EF, 0x02FF,
1.1517 + 0x034F, 0x035F, 0x0363, 0x036F, 0x037B, 0x037D, 0x03D8, 0x03D9,
1.1518 + 0x03F4, 0x03FF, 0x048A, 0x048B, 0x04C5, 0x04C6, 0x04C9, 0x04CA,
1.1519 + 0x04CD, 0x04CF, 0x04F6, 0x0513, 0x05A2, 0x05A2, 0x05BA, 0x05BA,
1.1520 + 0x05C5, 0x05C7, 0x0600, 0x0603, 0x060B, 0x0615, 0x061E, 0x061F,
1.1521 + 0x0656, 0x065E, 0x066E, 0x066F, 0x06EE, 0x06EF, 0x06FF, 0x06FF,
1.1522 + 0x072D, 0x072F, 0x074D, 0x076D, 0x07B1, 0x07B1, 0x07C0, 0x07FA,
1.1523 + 0x0904, 0x0904, 0x097B, 0x097F, 0x09BD, 0x09BD, 0x09CE, 0x09CE,
1.1524 + 0x0A01, 0x0A03, 0x0A8C, 0x0A8C, 0x0AE1, 0x0AE3, 0x0AF1, 0x0AF1,
1.1525 + 0x0B35, 0x0B35, 0x0B71, 0x0B71, 0x0BB6, 0x0BB6, 0x0BE6, 0x0BE6,
1.1526 + 0x0BF3, 0x0BFA, 0x0CBC, 0x0CBD, 0x0CE2, 0x0CE3, 0x0CF1, 0x0CF2,
1.1527 + 0x0FD0, 0x0FD1, 0x10F7, 0x10FC, 0x1207, 0x1207, 0x1247, 0x1247,
1.1528 + 0x1287, 0x1287, 0x12AF, 0x12AF, 0x12CF, 0x12CF, 0x12EF, 0x12EF,
1.1529 + 0x130F, 0x130F, 0x131F, 0x131F, 0x1347, 0x1347, 0x135F, 0x1360,
1.1530 + 0x1380, 0x1399, 0x1700, 0x170C, 0x170E, 0x1714, 0x1720, 0x1736,
1.1531 + 0x1740, 0x1753, 0x1760, 0x176C, 0x176E, 0x1770, 0x1772, 0x1773,
1.1532 + 0x17DD, 0x17DD, 0x17F0, 0x17F9, 0x1900, 0x191C, 0x1920, 0x192B,
1.1533 + 0x1930, 0x193B, 0x1940, 0x1940, 0x1944, 0x196D, 0x1970, 0x1974,
1.1534 + 0x1980, 0x19A9, 0x19B0, 0x19C9, 0x19D0, 0x19D9, 0x19DE, 0x1A1B,
1.1535 + 0x1A1E, 0x1A1F, 0x1B00, 0x1B4B, 0x1B50, 0x1B7C, 0x1D00, 0x1DCA,
1.1536 + 0x1DFE, 0x1DFF, 0x2047, 0x2063, 0x2071, 0x2071, 0x2090, 0x2094,
1.1537 + 0x20B0, 0x20B5, 0x20E4, 0x20EF, 0x213B, 0x214E, 0x2184, 0x2184,
1.1538 + 0x21F4, 0x21FF, 0x22F2, 0x22FF, 0x237C, 0x237C, 0x239B, 0x23E7,
1.1539 + 0x24EB, 0x24FF, 0x2596, 0x259F, 0x25F8, 0x25FF, 0x2614, 0x2618,
1.1540 + 0x2672, 0x269C, 0x26A0, 0x26B2, 0x2768, 0x2775, 0x27C0, 0x27CA,
1.1541 + 0x27D0, 0x27EB, 0x27F0, 0x27FF, 0x2900, 0x2B1A, 0x2B20, 0x2B23,
1.1542 + 0x2C00, 0x2C2E, 0x2C30, 0x2C5E, 0x2C60, 0x2C6C, 0x2C74, 0x2C77,
1.1543 + 0x2C80, 0x2CEA, 0x2CF9, 0x2D25, 0x2D30, 0x2D65, 0x2D6F, 0x2D6F,
1.1544 + 0x2D80, 0x2D96, 0x2DA0, 0x2DA6, 0x2DA8, 0x2DAE, 0x2DB0, 0x2DB6,
1.1545 + 0x2DB8, 0x2DBE, 0x2DC0, 0x2DC6, 0x2DC8, 0x2DCE, 0x2DD0, 0x2DD6,
1.1546 + 0x2DD8, 0x2DDE, 0x2E00, 0x2E17, 0x2E1C, 0x2E1D, 0x303B, 0x303D,
1.1547 + 0x3095, 0x3096, 0x309F, 0x30A0, 0x30FF, 0x30FF, 0x31C0, 0x31CF,
1.1548 + 0x31F0, 0x31FF, 0x321D, 0x321E, 0x3250, 0x325F, 0x327C, 0x327E,
1.1549 + 0x32B1, 0x32BF, 0x32CC, 0x32CF, 0x3377, 0x337A, 0x33DE, 0x33DF,
1.1550 + 0x33FF, 0x33FF, 0x4DC0, 0x4DFF, 0x9FA6, 0x9FBB, 0xA4A2, 0xA4A3,
1.1551 + 0xA4B4, 0xA4B4, 0xA4C1, 0xA4C1, 0xA4C5, 0xA4C5, 0xA700, 0xA71A,
1.1552 + 0xA720, 0xA721, 0xA800, 0xA82B, 0xA840, 0xA877, 0xFA30, 0xFA6A,
1.1553 + 0xFA70, 0xFAD9, 0xFDFC, 0xFDFD, 0xFE00, 0xFE19, 0xFE45, 0xFE48,
1.1554 + 0xFE73, 0xFE73, 0xFF5F, 0xFF60,
1.1555 + };
1.1556 +
1.1557 +// characters Codepoint out of BMP, newly added or changed in Unicode 5.0
1.1558 +static const TUint32 Unicode5NewCharOutBMPIndex[] =
1.1559 +{
1.1560 + 0x10000, 0x10001, 0x10002, 0x10003, 0x10004, 0x10005, 0x10006, 0x10007,
1.1561 + 0x10008, 0x10009, 0x1000A, 0x1000B, 0x1000D, 0x1000E, 0x1000F, 0x10010,
1.1562 + 0x10011, 0x10012, 0x10013, 0x10014, 0x10015, 0x10016, 0x10017, 0x10018,
1.1563 + 0x10019, 0x1001A, 0x1001B, 0x1001C, 0x1001D, 0x1001E, 0x1001F, 0x10020,
1.1564 + 0x10021, 0x10022, 0x10023, 0x10024, 0x10025, 0x10026, 0x10028, 0x10029,
1.1565 + 0x1002A, 0x1002B, 0x1002C, 0x1002D, 0x1002E, 0x1002F, 0x10030, 0x10031,
1.1566 + 0x10032, 0x10033, 0x10034, 0x10035, 0x10036, 0x10037, 0x10038, 0x10039,
1.1567 + 0x1003A, 0x1003C, 0x1003D, 0x1003F, 0x10040, 0x10041, 0x10042, 0x10043,
1.1568 + 0x10044, 0x10045, 0x10046, 0x10047, 0x10048, 0x10049, 0x1004A, 0x1004B,
1.1569 + 0x1004C, 0x1004D, 0x10050, 0x10051, 0x10052, 0x10053, 0x10054, 0x10055,
1.1570 + 0x10056, 0x10057, 0x10058, 0x10059, 0x1005A, 0x1005B, 0x1005C, 0x1005D,
1.1571 + 0x10080, 0x10081, 0x10082, 0x10083, 0x10084, 0x10085, 0x10086, 0x10087,
1.1572 + 0x10088, 0x10089, 0x1008A, 0x1008B, 0x1008C, 0x1008D, 0x1008E, 0x1008F,
1.1573 + 0x10090, 0x10091, 0x10092, 0x10093, 0x10094, 0x10095, 0x10096, 0x10097,
1.1574 + 0x10098, 0x10099, 0x1009A, 0x1009B, 0x1009C, 0x1009D, 0x1009E, 0x1009F,
1.1575 + 0x100A0, 0x100A1, 0x100A2, 0x100A3, 0x100A4, 0x100A5, 0x100A6, 0x100A7,
1.1576 + 0x100A8, 0x100A9, 0x100AA, 0x100AB, 0x100AC, 0x100AD, 0x100AE, 0x100AF,
1.1577 + 0x100B0, 0x100B1, 0x100B2, 0x100B3, 0x100B4, 0x100B5, 0x100B6, 0x100B7,
1.1578 + 0x100B8, 0x100B9, 0x100BA, 0x100BB, 0x100BC, 0x100BD, 0x100BE, 0x100BF,
1.1579 + 0x100C0, 0x100C1, 0x100C2, 0x100C3, 0x100C4, 0x100C5, 0x100C6, 0x100C7,
1.1580 + 0x100C8, 0x100C9, 0x100CA, 0x100CB, 0x100CC, 0x100CD, 0x100CE, 0x100CF,
1.1581 + 0x100D0, 0x100D1, 0x100D2, 0x100D3, 0x100D4, 0x100D5, 0x100D6, 0x100D7,
1.1582 + 0x100D8, 0x100D9, 0x100DA, 0x100DB, 0x100DC, 0x100DD, 0x100DE, 0x100DF,
1.1583 + 0x100E0, 0x100E1, 0x100E2, 0x100E3, 0x100E4, 0x100E5, 0x100E6, 0x100E7,
1.1584 + 0x100E8, 0x100E9, 0x100EA, 0x100EB, 0x100EC, 0x100ED, 0x100EE, 0x100EF,
1.1585 + 0x100F0, 0x100F1, 0x100F2, 0x100F3, 0x100F4, 0x100F5, 0x100F6, 0x100F7,
1.1586 + 0x100F8, 0x100F9, 0x100FA, 0x10100, 0x10101, 0x10102, 0x10107, 0x10108,
1.1587 + 0x10109, 0x1010A, 0x1010B, 0x1010C, 0x1010D, 0x1010E, 0x1010F, 0x10110,
1.1588 + 0x10111, 0x10112, 0x10113, 0x10114, 0x10115, 0x10116, 0x10117, 0x10118,
1.1589 + 0x10119, 0x1011A, 0x1011B, 0x1011C, 0x1011D, 0x1011E, 0x1011F, 0x10120,
1.1590 + 0x10121, 0x10122, 0x10123, 0x10124, 0x10125, 0x10126, 0x10127, 0x10128,
1.1591 + 0x10129, 0x1012A, 0x1012B, 0x1012C, 0x1012D, 0x1012E, 0x1012F, 0x10130,
1.1592 + 0x10131, 0x10132, 0x10133, 0x10137, 0x10138, 0x10139, 0x1013A, 0x1013B,
1.1593 + 0x1013C, 0x1013D, 0x1013E, 0x1013F, 0x10140, 0x10141, 0x10142, 0x10143,
1.1594 + 0x10144, 0x10145, 0x10146, 0x10147, 0x10148, 0x10149, 0x1014A, 0x1014B,
1.1595 + 0x1014C, 0x1014D, 0x1014E, 0x1014F, 0x10150, 0x10151, 0x10152, 0x10153,
1.1596 + 0x10154, 0x10155, 0x10156, 0x10157, 0x10158, 0x10159, 0x1015A, 0x1015B,
1.1597 + 0x1015C, 0x1015D, 0x1015E, 0x1015F, 0x10160, 0x10161, 0x10162, 0x10163,
1.1598 + 0x10164, 0x10165, 0x10166, 0x10167, 0x10168, 0x10169, 0x1016A, 0x1016B,
1.1599 + 0x1016C, 0x1016D, 0x1016E, 0x1016F, 0x10170, 0x10171, 0x10172, 0x10173,
1.1600 + 0x10174, 0x10175, 0x10176, 0x10177, 0x10178, 0x10179, 0x1017A, 0x1017B,
1.1601 + 0x1017C, 0x1017D, 0x1017E, 0x1017F, 0x10180, 0x10181, 0x10182, 0x10183,
1.1602 + 0x10184, 0x10185, 0x10186, 0x10187, 0x10188, 0x10189, 0x1018A, 0x10300,
1.1603 + 0x10301, 0x10302, 0x10303, 0x10304, 0x10305, 0x10306, 0x10307, 0x10308,
1.1604 + 0x10309, 0x1030A, 0x1030B, 0x1030C, 0x1030D, 0x1030E, 0x1030F, 0x10310,
1.1605 + 0x10311, 0x10312, 0x10313, 0x10314, 0x10315, 0x10316, 0x10317, 0x10318,
1.1606 + 0x10319, 0x1031A, 0x1031B, 0x1031C, 0x1031D, 0x1031E, 0x10320, 0x10321,
1.1607 + 0x10322, 0x10323, 0x10330, 0x10331, 0x10332, 0x10333, 0x10334, 0x10335,
1.1608 + 0x10336, 0x10337, 0x10338, 0x10339, 0x1033A, 0x1033B, 0x1033C, 0x1033D,
1.1609 + 0x1033E, 0x1033F, 0x10340, 0x10341, 0x10342, 0x10343, 0x10344, 0x10345,
1.1610 + 0x10346, 0x10347, 0x10348, 0x10349, 0x1034A, 0x10380, 0x10381, 0x10382,
1.1611 + 0x10383, 0x10384, 0x10385, 0x10386, 0x10387, 0x10388, 0x10389, 0x1038A,
1.1612 + 0x1038B, 0x1038C, 0x1038D, 0x1038E, 0x1038F, 0x10390, 0x10391, 0x10392,
1.1613 + 0x10393, 0x10394, 0x10395, 0x10396, 0x10397, 0x10398, 0x10399, 0x1039A,
1.1614 + 0x1039B, 0x1039C, 0x1039D, 0x1039F, 0x103A0, 0x103A1, 0x103A2, 0x103A3,
1.1615 + 0x103A4, 0x103A5, 0x103A6, 0x103A7, 0x103A8, 0x103A9, 0x103AA, 0x103AB,
1.1616 + 0x103AC, 0x103AD, 0x103AE, 0x103AF, 0x103B0, 0x103B1, 0x103B2, 0x103B3,
1.1617 + 0x103B4, 0x103B5, 0x103B6, 0x103B7, 0x103B8, 0x103B9, 0x103BA, 0x103BB,
1.1618 + 0x103BC, 0x103BD, 0x103BE, 0x103BF, 0x103C0, 0x103C1, 0x103C2, 0x103C3,
1.1619 + 0x103C8, 0x103C9, 0x103CA, 0x103CB, 0x103CC, 0x103CD, 0x103CE, 0x103CF,
1.1620 + 0x103D0, 0x103D1, 0x103D2, 0x103D3, 0x103D4, 0x103D5, 0x10400, 0x10401,
1.1621 + 0x10402, 0x10403, 0x10404, 0x10405, 0x10406, 0x10407, 0x10408, 0x10409,
1.1622 + 0x1040A, 0x1040B, 0x1040C, 0x1040D, 0x1040E, 0x1040F, 0x10410, 0x10411,
1.1623 + 0x10412, 0x10413, 0x10414, 0x10415, 0x10416, 0x10417, 0x10418, 0x10419,
1.1624 + 0x1041A, 0x1041B, 0x1041C, 0x1041D, 0x1041E, 0x1041F, 0x10420, 0x10421,
1.1625 + 0x10422, 0x10423, 0x10424, 0x10425, 0x10426, 0x10427, 0x10428, 0x10429,
1.1626 + 0x1042A, 0x1042B, 0x1042C, 0x1042D, 0x1042E, 0x1042F, 0x10430, 0x10431,
1.1627 + 0x10432, 0x10433, 0x10434, 0x10435, 0x10436, 0x10437, 0x10438, 0x10439,
1.1628 + 0x1043A, 0x1043B, 0x1043C, 0x1043D, 0x1043E, 0x1043F, 0x10440, 0x10441,
1.1629 + 0x10442, 0x10443, 0x10444, 0x10445, 0x10446, 0x10447, 0x10448, 0x10449,
1.1630 + 0x1044A, 0x1044B, 0x1044C, 0x1044D, 0x1044E, 0x1044F, 0x10450, 0x10451,
1.1631 + 0x10452, 0x10453, 0x10454, 0x10455, 0x10456, 0x10457, 0x10458, 0x10459,
1.1632 + 0x1045A, 0x1045B, 0x1045C, 0x1045D, 0x1045E, 0x1045F, 0x10460, 0x10461,
1.1633 + 0x10462, 0x10463, 0x10464, 0x10465, 0x10466, 0x10467, 0x10468, 0x10469,
1.1634 + 0x1046A, 0x1046B, 0x1046C, 0x1046D, 0x1046E, 0x1046F, 0x10470, 0x10471,
1.1635 + 0x10472, 0x10473, 0x10474, 0x10475, 0x10476, 0x10477, 0x10478, 0x10479,
1.1636 + 0x1047A, 0x1047B, 0x1047C, 0x1047D, 0x1047E, 0x1047F, 0x10480, 0x10481,
1.1637 + 0x10482, 0x10483, 0x10484, 0x10485, 0x10486, 0x10487, 0x10488, 0x10489,
1.1638 + 0x1048A, 0x1048B, 0x1048C, 0x1048D, 0x1048E, 0x1048F, 0x10490, 0x10491,
1.1639 + 0x10492, 0x10493, 0x10494, 0x10495, 0x10496, 0x10497, 0x10498, 0x10499,
1.1640 + 0x1049A, 0x1049B, 0x1049C, 0x1049D, 0x104A0, 0x104A1, 0x104A2, 0x104A3,
1.1641 + 0x104A4, 0x104A5, 0x104A6, 0x104A7, 0x104A8, 0x104A9, 0x10800, 0x10801,
1.1642 + 0x10802, 0x10803, 0x10804, 0x10805, 0x10808, 0x1080A, 0x1080B, 0x1080C,
1.1643 + 0x1080D, 0x1080E, 0x1080F, 0x10810, 0x10811, 0x10812, 0x10813, 0x10814,
1.1644 + 0x10815, 0x10816, 0x10817, 0x10818, 0x10819, 0x1081A, 0x1081B, 0x1081C,
1.1645 + 0x1081D, 0x1081E, 0x1081F, 0x10820, 0x10821, 0x10822, 0x10823, 0x10824,
1.1646 + 0x10825, 0x10826, 0x10827, 0x10828, 0x10829, 0x1082A, 0x1082B, 0x1082C,
1.1647 + 0x1082D, 0x1082E, 0x1082F, 0x10830, 0x10831, 0x10832, 0x10833, 0x10834,
1.1648 + 0x10835, 0x10837, 0x10838, 0x1083C, 0x1083F, 0x10900, 0x10901, 0x10902,
1.1649 + 0x10903, 0x10904, 0x10905, 0x10906, 0x10907, 0x10908, 0x10909, 0x1090A,
1.1650 + 0x1090B, 0x1090C, 0x1090D, 0x1090E, 0x1090F, 0x10910, 0x10911, 0x10912,
1.1651 + 0x10913, 0x10914, 0x10915, 0x10916, 0x10917, 0x10918, 0x10919, 0x1091F,
1.1652 + 0x10A00, 0x10A01, 0x10A02, 0x10A03, 0x10A05, 0x10A06, 0x10A0C, 0x10A0D,
1.1653 + 0x10A0E, 0x10A0F, 0x10A10, 0x10A11, 0x10A12, 0x10A13, 0x10A15, 0x10A16,
1.1654 + 0x10A17, 0x10A19, 0x10A1A, 0x10A1B, 0x10A1C, 0x10A1D, 0x10A1E, 0x10A1F,
1.1655 + 0x10A20, 0x10A21, 0x10A22, 0x10A23, 0x10A24, 0x10A25, 0x10A26, 0x10A27,
1.1656 + 0x10A28, 0x10A29, 0x10A2A, 0x10A2B, 0x10A2C, 0x10A2D, 0x10A2E, 0x10A2F,
1.1657 + 0x10A30, 0x10A31, 0x10A32, 0x10A33, 0x10A38, 0x10A39, 0x10A3A, 0x10A3F,
1.1658 + 0x10A40, 0x10A41, 0x10A42, 0x10A43, 0x10A44, 0x10A45, 0x10A46, 0x10A47,
1.1659 + 0x10A50, 0x10A51, 0x10A52, 0x10A53, 0x10A54, 0x10A55, 0x10A56, 0x10A57,
1.1660 + 0x10A58, 0x12000, 0x12001, 0x12002, 0x12003, 0x12004, 0x12005, 0x12006,
1.1661 + 0x12007, 0x12008, 0x12009, 0x1200A, 0x1200B, 0x1200C, 0x1200D, 0x1200E,
1.1662 + 0x1200F, 0x12010, 0x12011, 0x12012, 0x12013, 0x12014, 0x12015, 0x12016,
1.1663 + 0x12017, 0x12018, 0x12019, 0x1201A, 0x1201B, 0x1201C, 0x1201D, 0x1201E,
1.1664 + 0x1201F, 0x12020, 0x12021, 0x12022, 0x12023, 0x12024, 0x12025, 0x12026,
1.1665 + 0x12027, 0x12028, 0x12029, 0x1202A, 0x1202B, 0x1202C, 0x1202D, 0x1202E,
1.1666 + 0x1202F, 0x12030, 0x12031, 0x12032, 0x12033, 0x12034, 0x12035, 0x12036,
1.1667 + 0x12037, 0x12038, 0x12039, 0x1203A, 0x1203B, 0x1203C, 0x1203D, 0x1203E,
1.1668 + 0x1203F, 0x12040, 0x12041, 0x12042, 0x12043, 0x12044, 0x12045, 0x12046,
1.1669 + 0x12047, 0x12048, 0x12049, 0x1204A, 0x1204B, 0x1204C, 0x1204D, 0x1204E,
1.1670 + 0x1204F, 0x12050, 0x12051, 0x12052, 0x12053, 0x12054, 0x12055, 0x12056,
1.1671 + 0x12057, 0x12058, 0x12059, 0x1205A, 0x1205B, 0x1205C, 0x1205D, 0x1205E,
1.1672 + 0x1205F, 0x12060, 0x12061, 0x12062, 0x12063, 0x12064, 0x12065, 0x12066,
1.1673 + 0x12067, 0x12068, 0x12069, 0x1206A, 0x1206B, 0x1206C, 0x1206D, 0x1206E,
1.1674 + 0x1206F, 0x12070, 0x12071, 0x12072, 0x12073, 0x12074, 0x12075, 0x12076,
1.1675 + 0x12077, 0x12078, 0x12079, 0x1207A, 0x1207B, 0x1207C, 0x1207D, 0x1207E,
1.1676 + 0x1207F, 0x12080, 0x12081, 0x12082, 0x12083, 0x12084, 0x12085, 0x12086,
1.1677 + 0x12087, 0x12088, 0x12089, 0x1208A, 0x1208B, 0x1208C, 0x1208D, 0x1208E,
1.1678 + 0x1208F, 0x12090, 0x12091, 0x12092, 0x12093, 0x12094, 0x12095, 0x12096,
1.1679 + 0x12097, 0x12098, 0x12099, 0x1209A, 0x1209B, 0x1209C, 0x1209D, 0x1209E,
1.1680 + 0x1209F, 0x120A0, 0x120A1, 0x120A2, 0x120A3, 0x120A4, 0x120A5, 0x120A6,
1.1681 + 0x120A7, 0x120A8, 0x120A9, 0x120AA, 0x120AB, 0x120AC, 0x120AD, 0x120AE,
1.1682 + 0x120AF, 0x120B0, 0x120B1, 0x120B2, 0x120B3, 0x120B4, 0x120B5, 0x120B6,
1.1683 + 0x120B7, 0x120B8, 0x120B9, 0x120BA, 0x120BB, 0x120BC, 0x120BD, 0x120BE,
1.1684 + 0x120BF, 0x120C0, 0x120C1, 0x120C2, 0x120C3, 0x120C4, 0x120C5, 0x120C6,
1.1685 + 0x120C7, 0x120C8, 0x120C9, 0x120CA, 0x120CB, 0x120CC, 0x120CD, 0x120CE,
1.1686 + 0x120CF, 0x120D0, 0x120D1, 0x120D2, 0x120D3, 0x120D4, 0x120D5, 0x120D6,
1.1687 + 0x120D7, 0x120D8, 0x120D9, 0x120DA, 0x120DB, 0x120DC, 0x120DD, 0x120DE,
1.1688 + 0x120DF, 0x120E0, 0x120E1, 0x120E2, 0x120E3, 0x120E4, 0x120E5, 0x120E6,
1.1689 + 0x120E7, 0x120E8, 0x120E9, 0x120EA, 0x120EB, 0x120EC, 0x120ED, 0x120EE,
1.1690 + 0x120EF, 0x120F0, 0x120F1, 0x120F2, 0x120F3, 0x120F4, 0x120F5, 0x120F6,
1.1691 + 0x120F7, 0x120F8, 0x120F9, 0x120FA, 0x120FB, 0x120FC, 0x120FD, 0x120FE,
1.1692 + 0x120FF, 0x12100, 0x12101, 0x12102, 0x12103, 0x12104, 0x12105, 0x12106,
1.1693 + 0x12107, 0x12108, 0x12109, 0x1210A, 0x1210B, 0x1210C, 0x1210D, 0x1210E,
1.1694 + 0x1210F, 0x12110, 0x12111, 0x12112, 0x12113, 0x12114, 0x12115, 0x12116,
1.1695 + 0x12117, 0x12118, 0x12119, 0x1211A, 0x1211B, 0x1211C, 0x1211D, 0x1211E,
1.1696 + 0x1211F, 0x12120, 0x12121, 0x12122, 0x12123, 0x12124, 0x12125, 0x12126,
1.1697 + 0x12127, 0x12128, 0x12129, 0x1212A, 0x1212B, 0x1212C, 0x1212D, 0x1212E,
1.1698 + 0x1212F, 0x12130, 0x12131, 0x12132, 0x12133, 0x12134, 0x12135, 0x12136,
1.1699 + 0x12137, 0x12138, 0x12139, 0x1213A, 0x1213B, 0x1213C, 0x1213D, 0x1213E,
1.1700 + 0x1213F, 0x12140, 0x12141, 0x12142, 0x12143, 0x12144, 0x12145, 0x12146,
1.1701 + 0x12147, 0x12148, 0x12149, 0x1214A, 0x1214B, 0x1214C, 0x1214D, 0x1214E,
1.1702 + 0x1214F, 0x12150, 0x12151, 0x12152, 0x12153, 0x12154, 0x12155, 0x12156,
1.1703 + 0x12157, 0x12158, 0x12159, 0x1215A, 0x1215B, 0x1215C, 0x1215D, 0x1215E,
1.1704 + 0x1215F, 0x12160, 0x12161, 0x12162, 0x12163, 0x12164, 0x12165, 0x12166,
1.1705 + 0x12167, 0x12168, 0x12169, 0x1216A, 0x1216B, 0x1216C, 0x1216D, 0x1216E,
1.1706 + 0x1216F, 0x12170, 0x12171, 0x12172, 0x12173, 0x12174, 0x12175, 0x12176,
1.1707 + 0x12177, 0x12178, 0x12179, 0x1217A, 0x1217B, 0x1217C, 0x1217D, 0x1217E,
1.1708 + 0x1217F, 0x12180, 0x12181, 0x12182, 0x12183, 0x12184, 0x12185, 0x12186,
1.1709 + 0x12187, 0x12188, 0x12189, 0x1218A, 0x1218B, 0x1218C, 0x1218D, 0x1218E,
1.1710 + 0x1218F, 0x12190, 0x12191, 0x12192, 0x12193, 0x12194, 0x12195, 0x12196,
1.1711 + 0x12197, 0x12198, 0x12199, 0x1219A, 0x1219B, 0x1219C, 0x1219D, 0x1219E,
1.1712 + 0x1219F, 0x121A0, 0x121A1, 0x121A2, 0x121A3, 0x121A4, 0x121A5, 0x121A6,
1.1713 + 0x121A7, 0x121A8, 0x121A9, 0x121AA, 0x121AB, 0x121AC, 0x121AD, 0x121AE,
1.1714 + 0x121AF, 0x121B0, 0x121B1, 0x121B2, 0x121B3, 0x121B4, 0x121B5, 0x121B6,
1.1715 + 0x121B7, 0x121B8, 0x121B9, 0x121BA, 0x121BB, 0x121BC, 0x121BD, 0x121BE,
1.1716 + 0x121BF, 0x121C0, 0x121C1, 0x121C2, 0x121C3, 0x121C4, 0x121C5, 0x121C6,
1.1717 + 0x121C7, 0x121C8, 0x121C9, 0x121CA, 0x121CB, 0x121CC, 0x121CD, 0x121CE,
1.1718 + 0x121CF, 0x121D0, 0x121D1, 0x121D2, 0x121D3, 0x121D4, 0x121D5, 0x121D6,
1.1719 + 0x121D7, 0x121D8, 0x121D9, 0x121DA, 0x121DB, 0x121DC, 0x121DD, 0x121DE,
1.1720 + 0x121DF, 0x121E0, 0x121E1, 0x121E2, 0x121E3, 0x121E4, 0x121E5, 0x121E6,
1.1721 + 0x121E7, 0x121E8, 0x121E9, 0x121EA, 0x121EB, 0x121EC, 0x121ED, 0x121EE,
1.1722 + 0x121EF, 0x121F0, 0x121F1, 0x121F2, 0x121F3, 0x121F4, 0x121F5, 0x121F6,
1.1723 + 0x121F7, 0x121F8, 0x121F9, 0x121FA, 0x121FB, 0x121FC, 0x121FD, 0x121FE,
1.1724 + 0x121FF, 0x12200, 0x12201, 0x12202, 0x12203, 0x12204, 0x12205, 0x12206,
1.1725 + 0x12207, 0x12208, 0x12209, 0x1220A, 0x1220B, 0x1220C, 0x1220D, 0x1220E,
1.1726 + 0x1220F, 0x12210, 0x12211, 0x12212, 0x12213, 0x12214, 0x12215, 0x12216,
1.1727 + 0x12217, 0x12218, 0x12219, 0x1221A, 0x1221B, 0x1221C, 0x1221D, 0x1221E,
1.1728 + 0x1221F, 0x12220, 0x12221, 0x12222, 0x12223, 0x12224, 0x12225, 0x12226,
1.1729 + 0x12227, 0x12228, 0x12229, 0x1222A, 0x1222B, 0x1222C, 0x1222D, 0x1222E,
1.1730 + 0x1222F, 0x12230, 0x12231, 0x12232, 0x12233, 0x12234, 0x12235, 0x12236,
1.1731 + 0x12237, 0x12238, 0x12239, 0x1223A, 0x1223B, 0x1223C, 0x1223D, 0x1223E,
1.1732 + 0x1223F, 0x12240, 0x12241, 0x12242, 0x12243, 0x12244, 0x12245, 0x12246,
1.1733 + 0x12247, 0x12248, 0x12249, 0x1224A, 0x1224B, 0x1224C, 0x1224D, 0x1224E,
1.1734 + 0x1224F, 0x12250, 0x12251, 0x12252, 0x12253, 0x12254, 0x12255, 0x12256,
1.1735 + 0x12257, 0x12258, 0x12259, 0x1225A, 0x1225B, 0x1225C, 0x1225D, 0x1225E,
1.1736 + 0x1225F, 0x12260, 0x12261, 0x12262, 0x12263, 0x12264, 0x12265, 0x12266,
1.1737 + 0x12267, 0x12268, 0x12269, 0x1226A, 0x1226B, 0x1226C, 0x1226D, 0x1226E,
1.1738 + 0x1226F, 0x12270, 0x12271, 0x12272, 0x12273, 0x12274, 0x12275, 0x12276,
1.1739 + 0x12277, 0x12278, 0x12279, 0x1227A, 0x1227B, 0x1227C, 0x1227D, 0x1227E,
1.1740 + 0x1227F, 0x12280, 0x12281, 0x12282, 0x12283, 0x12284, 0x12285, 0x12286,
1.1741 + 0x12287, 0x12288, 0x12289, 0x1228A, 0x1228B, 0x1228C, 0x1228D, 0x1228E,
1.1742 + 0x1228F, 0x12290, 0x12291, 0x12292, 0x12293, 0x12294, 0x12295, 0x12296,
1.1743 + 0x12297, 0x12298, 0x12299, 0x1229A, 0x1229B, 0x1229C, 0x1229D, 0x1229E,
1.1744 + 0x1229F, 0x122A0, 0x122A1, 0x122A2, 0x122A3, 0x122A4, 0x122A5, 0x122A6,
1.1745 + 0x122A7, 0x122A8, 0x122A9, 0x122AA, 0x122AB, 0x122AC, 0x122AD, 0x122AE,
1.1746 + 0x122AF, 0x122B0, 0x122B1, 0x122B2, 0x122B3, 0x122B4, 0x122B5, 0x122B6,
1.1747 + 0x122B7, 0x122B8, 0x122B9, 0x122BA, 0x122BB, 0x122BC, 0x122BD, 0x122BE,
1.1748 + 0x122BF, 0x122C0, 0x122C1, 0x122C2, 0x122C3, 0x122C4, 0x122C5, 0x122C6,
1.1749 + 0x122C7, 0x122C8, 0x122C9, 0x122CA, 0x122CB, 0x122CC, 0x122CD, 0x122CE,
1.1750 + 0x122CF, 0x122D0, 0x122D1, 0x122D2, 0x122D3, 0x122D4, 0x122D5, 0x122D6,
1.1751 + 0x122D7, 0x122D8, 0x122D9, 0x122DA, 0x122DB, 0x122DC, 0x122DD, 0x122DE,
1.1752 + 0x122DF, 0x122E0, 0x122E1, 0x122E2, 0x122E3, 0x122E4, 0x122E5, 0x122E6,
1.1753 + 0x122E7, 0x122E8, 0x122E9, 0x122EA, 0x122EB, 0x122EC, 0x122ED, 0x122EE,
1.1754 + 0x122EF, 0x122F0, 0x122F1, 0x122F2, 0x122F3, 0x122F4, 0x122F5, 0x122F6,
1.1755 + 0x122F7, 0x122F8, 0x122F9, 0x122FA, 0x122FB, 0x122FC, 0x122FD, 0x122FE,
1.1756 + 0x122FF, 0x12300, 0x12301, 0x12302, 0x12303, 0x12304, 0x12305, 0x12306,
1.1757 + 0x12307, 0x12308, 0x12309, 0x1230A, 0x1230B, 0x1230C, 0x1230D, 0x1230E,
1.1758 + 0x1230F, 0x12310, 0x12311, 0x12312, 0x12313, 0x12314, 0x12315, 0x12316,
1.1759 + 0x12317, 0x12318, 0x12319, 0x1231A, 0x1231B, 0x1231C, 0x1231D, 0x1231E,
1.1760 + 0x1231F, 0x12320, 0x12321, 0x12322, 0x12323, 0x12324, 0x12325, 0x12326,
1.1761 + 0x12327, 0x12328, 0x12329, 0x1232A, 0x1232B, 0x1232C, 0x1232D, 0x1232E,
1.1762 + 0x1232F, 0x12330, 0x12331, 0x12332, 0x12333, 0x12334, 0x12335, 0x12336,
1.1763 + 0x12337, 0x12338, 0x12339, 0x1233A, 0x1233B, 0x1233C, 0x1233D, 0x1233E,
1.1764 + 0x1233F, 0x12340, 0x12341, 0x12342, 0x12343, 0x12344, 0x12345, 0x12346,
1.1765 + 0x12347, 0x12348, 0x12349, 0x1234A, 0x1234B, 0x1234C, 0x1234D, 0x1234E,
1.1766 + 0x1234F, 0x12350, 0x12351, 0x12352, 0x12353, 0x12354, 0x12355, 0x12356,
1.1767 + 0x12357, 0x12358, 0x12359, 0x1235A, 0x1235B, 0x1235C, 0x1235D, 0x1235E,
1.1768 + 0x1235F, 0x12360, 0x12361, 0x12362, 0x12363, 0x12364, 0x12365, 0x12366,
1.1769 + 0x12367, 0x12368, 0x12369, 0x1236A, 0x1236B, 0x1236C, 0x1236D, 0x1236E,
1.1770 + 0x12400, 0x12401, 0x12402, 0x12403, 0x12404, 0x12405, 0x12406, 0x12407,
1.1771 + 0x12408, 0x12409, 0x1240A, 0x1240B, 0x1240C, 0x1240D, 0x1240E, 0x1240F,
1.1772 + 0x12410, 0x12411, 0x12412, 0x12413, 0x12414, 0x12415, 0x12416, 0x12417,
1.1773 + 0x12418, 0x12419, 0x1241A, 0x1241B, 0x1241C, 0x1241D, 0x1241E, 0x1241F,
1.1774 + 0x12420, 0x12421, 0x12422, 0x12423, 0x12424, 0x12425, 0x12426, 0x12427,
1.1775 + 0x12428, 0x12429, 0x1242A, 0x1242B, 0x1242C, 0x1242D, 0x1242E, 0x1242F,
1.1776 + 0x12430, 0x12431, 0x12432, 0x12433, 0x12434, 0x12435, 0x12436, 0x12437,
1.1777 + 0x12438, 0x12439, 0x1243A, 0x1243B, 0x1243C, 0x1243D, 0x1243E, 0x1243F,
1.1778 + 0x12440, 0x12441, 0x12442, 0x12443, 0x12444, 0x12445, 0x12446, 0x12447,
1.1779 + 0x12448, 0x12449, 0x1244A, 0x1244B, 0x1244C, 0x1244D, 0x1244E, 0x1244F,
1.1780 + 0x12450, 0x12451, 0x12452, 0x12453, 0x12454, 0x12455, 0x12456, 0x12457,
1.1781 + 0x12458, 0x12459, 0x1245A, 0x1245B, 0x1245C, 0x1245D, 0x1245E, 0x1245F,
1.1782 + 0x12460, 0x12461, 0x12462, 0x12470, 0x12471, 0x12472, 0x12473, 0x1D000,
1.1783 + 0x1D001, 0x1D002, 0x1D003, 0x1D004, 0x1D005, 0x1D006, 0x1D007, 0x1D008,
1.1784 + 0x1D009, 0x1D00A, 0x1D00B, 0x1D00C, 0x1D00D, 0x1D00E, 0x1D00F, 0x1D010,
1.1785 + 0x1D011, 0x1D012, 0x1D013, 0x1D014, 0x1D015, 0x1D016, 0x1D017, 0x1D018,
1.1786 + 0x1D019, 0x1D01A, 0x1D01B, 0x1D01C, 0x1D01D, 0x1D01E, 0x1D01F, 0x1D020,
1.1787 + 0x1D021, 0x1D022, 0x1D023, 0x1D024, 0x1D025, 0x1D026, 0x1D027, 0x1D028,
1.1788 + 0x1D029, 0x1D02A, 0x1D02B, 0x1D02C, 0x1D02D, 0x1D02E, 0x1D02F, 0x1D030,
1.1789 + 0x1D031, 0x1D032, 0x1D033, 0x1D034, 0x1D035, 0x1D036, 0x1D037, 0x1D038,
1.1790 + 0x1D039, 0x1D03A, 0x1D03B, 0x1D03C, 0x1D03D, 0x1D03E, 0x1D03F, 0x1D040,
1.1791 + 0x1D041, 0x1D042, 0x1D043, 0x1D044, 0x1D045, 0x1D046, 0x1D047, 0x1D048,
1.1792 + 0x1D049, 0x1D04A, 0x1D04B, 0x1D04C, 0x1D04D, 0x1D04E, 0x1D04F, 0x1D050,
1.1793 + 0x1D051, 0x1D052, 0x1D053, 0x1D054, 0x1D055, 0x1D056, 0x1D057, 0x1D058,
1.1794 + 0x1D059, 0x1D05A, 0x1D05B, 0x1D05C, 0x1D05D, 0x1D05E, 0x1D05F, 0x1D060,
1.1795 + 0x1D061, 0x1D062, 0x1D063, 0x1D064, 0x1D065, 0x1D066, 0x1D067, 0x1D068,
1.1796 + 0x1D069, 0x1D06A, 0x1D06B, 0x1D06C, 0x1D06D, 0x1D06E, 0x1D06F, 0x1D070,
1.1797 + 0x1D071, 0x1D072, 0x1D073, 0x1D074, 0x1D075, 0x1D076, 0x1D077, 0x1D078,
1.1798 + 0x1D079, 0x1D07A, 0x1D07B, 0x1D07C, 0x1D07D, 0x1D07E, 0x1D07F, 0x1D080,
1.1799 + 0x1D081, 0x1D082, 0x1D083, 0x1D084, 0x1D085, 0x1D086, 0x1D087, 0x1D088,
1.1800 + 0x1D089, 0x1D08A, 0x1D08B, 0x1D08C, 0x1D08D, 0x1D08E, 0x1D08F, 0x1D090,
1.1801 + 0x1D091, 0x1D092, 0x1D093, 0x1D094, 0x1D095, 0x1D096, 0x1D097, 0x1D098,
1.1802 + 0x1D099, 0x1D09A, 0x1D09B, 0x1D09C, 0x1D09D, 0x1D09E, 0x1D09F, 0x1D0A0,
1.1803 + 0x1D0A1, 0x1D0A2, 0x1D0A3, 0x1D0A4, 0x1D0A5, 0x1D0A6, 0x1D0A7, 0x1D0A8,
1.1804 + 0x1D0A9, 0x1D0AA, 0x1D0AB, 0x1D0AC, 0x1D0AD, 0x1D0AE, 0x1D0AF, 0x1D0B0,
1.1805 + 0x1D0B1, 0x1D0B2, 0x1D0B3, 0x1D0B4, 0x1D0B5, 0x1D0B6, 0x1D0B7, 0x1D0B8,
1.1806 + 0x1D0B9, 0x1D0BA, 0x1D0BB, 0x1D0BC, 0x1D0BD, 0x1D0BE, 0x1D0BF, 0x1D0C0,
1.1807 + 0x1D0C1, 0x1D0C2, 0x1D0C3, 0x1D0C4, 0x1D0C5, 0x1D0C6, 0x1D0C7, 0x1D0C8,
1.1808 + 0x1D0C9, 0x1D0CA, 0x1D0CB, 0x1D0CC, 0x1D0CD, 0x1D0CE, 0x1D0CF, 0x1D0D0,
1.1809 + 0x1D0D1, 0x1D0D2, 0x1D0D3, 0x1D0D4, 0x1D0D5, 0x1D0D6, 0x1D0D7, 0x1D0D8,
1.1810 + 0x1D0D9, 0x1D0DA, 0x1D0DB, 0x1D0DC, 0x1D0DD, 0x1D0DE, 0x1D0DF, 0x1D0E0,
1.1811 + 0x1D0E1, 0x1D0E2, 0x1D0E3, 0x1D0E4, 0x1D0E5, 0x1D0E6, 0x1D0E7, 0x1D0E8,
1.1812 + 0x1D0E9, 0x1D0EA, 0x1D0EB, 0x1D0EC, 0x1D0ED, 0x1D0EE, 0x1D0EF, 0x1D0F0,
1.1813 + 0x1D0F1, 0x1D0F2, 0x1D0F3, 0x1D0F4, 0x1D0F5, 0x1D100, 0x1D101, 0x1D102,
1.1814 + 0x1D103, 0x1D104, 0x1D105, 0x1D106, 0x1D107, 0x1D108, 0x1D109, 0x1D10A,
1.1815 + 0x1D10B, 0x1D10C, 0x1D10D, 0x1D10E, 0x1D10F, 0x1D110, 0x1D111, 0x1D112,
1.1816 + 0x1D113, 0x1D114, 0x1D115, 0x1D116, 0x1D117, 0x1D118, 0x1D119, 0x1D11A,
1.1817 + 0x1D11B, 0x1D11C, 0x1D11D, 0x1D11E, 0x1D11F, 0x1D120, 0x1D121, 0x1D122,
1.1818 + 0x1D123, 0x1D124, 0x1D125, 0x1D126, 0x1D12A, 0x1D12B, 0x1D12C, 0x1D12D,
1.1819 + 0x1D12E, 0x1D12F, 0x1D130, 0x1D131, 0x1D132, 0x1D133, 0x1D134, 0x1D135,
1.1820 + 0x1D136, 0x1D137, 0x1D138, 0x1D139, 0x1D13A, 0x1D13B, 0x1D13C, 0x1D13D,
1.1821 + 0x1D13E, 0x1D13F, 0x1D140, 0x1D141, 0x1D142, 0x1D143, 0x1D144, 0x1D145,
1.1822 + 0x1D146, 0x1D147, 0x1D148, 0x1D149, 0x1D14A, 0x1D14B, 0x1D14C, 0x1D14D,
1.1823 + 0x1D14E, 0x1D14F, 0x1D150, 0x1D151, 0x1D152, 0x1D153, 0x1D154, 0x1D155,
1.1824 + 0x1D156, 0x1D157, 0x1D158, 0x1D159, 0x1D15A, 0x1D15B, 0x1D15C, 0x1D15D,
1.1825 + 0x1D15E, 0x1D15F, 0x1D160, 0x1D161, 0x1D162, 0x1D163, 0x1D164, 0x1D165,
1.1826 + 0x1D166, 0x1D167, 0x1D168, 0x1D169, 0x1D16A, 0x1D16B, 0x1D16C, 0x1D16D,
1.1827 + 0x1D16E, 0x1D16F, 0x1D170, 0x1D171, 0x1D172, 0x1D173, 0x1D174, 0x1D175,
1.1828 + 0x1D176, 0x1D177, 0x1D178, 0x1D179, 0x1D17A, 0x1D17B, 0x1D17C, 0x1D17D,
1.1829 + 0x1D17E, 0x1D17F, 0x1D180, 0x1D181, 0x1D182, 0x1D183, 0x1D184, 0x1D185,
1.1830 + 0x1D186, 0x1D187, 0x1D188, 0x1D189, 0x1D18A, 0x1D18B, 0x1D18C, 0x1D18D,
1.1831 + 0x1D18E, 0x1D18F, 0x1D190, 0x1D191, 0x1D192, 0x1D193, 0x1D194, 0x1D195,
1.1832 + 0x1D196, 0x1D197, 0x1D198, 0x1D199, 0x1D19A, 0x1D19B, 0x1D19C, 0x1D19D,
1.1833 + 0x1D19E, 0x1D19F, 0x1D1A0, 0x1D1A1, 0x1D1A2, 0x1D1A3, 0x1D1A4, 0x1D1A5,
1.1834 + 0x1D1A6, 0x1D1A7, 0x1D1A8, 0x1D1A9, 0x1D1AA, 0x1D1AB, 0x1D1AC, 0x1D1AD,
1.1835 + 0x1D1AE, 0x1D1AF, 0x1D1B0, 0x1D1B1, 0x1D1B2, 0x1D1B3, 0x1D1B4, 0x1D1B5,
1.1836 + 0x1D1B6, 0x1D1B7, 0x1D1B8, 0x1D1B9, 0x1D1BA, 0x1D1BB, 0x1D1BC, 0x1D1BD,
1.1837 + 0x1D1BE, 0x1D1BF, 0x1D1C0, 0x1D1C1, 0x1D1C2, 0x1D1C3, 0x1D1C4, 0x1D1C5,
1.1838 + 0x1D1C6, 0x1D1C7, 0x1D1C8, 0x1D1C9, 0x1D1CA, 0x1D1CB, 0x1D1CC, 0x1D1CD,
1.1839 + 0x1D1CE, 0x1D1CF, 0x1D1D0, 0x1D1D1, 0x1D1D2, 0x1D1D3, 0x1D1D4, 0x1D1D5,
1.1840 + 0x1D1D6, 0x1D1D7, 0x1D1D8, 0x1D1D9, 0x1D1DA, 0x1D1DB, 0x1D1DC, 0x1D1DD,
1.1841 + 0x1D200, 0x1D201, 0x1D202, 0x1D203, 0x1D204, 0x1D205, 0x1D206, 0x1D207,
1.1842 + 0x1D208, 0x1D209, 0x1D20A, 0x1D20B, 0x1D20C, 0x1D20D, 0x1D20E, 0x1D20F,
1.1843 + 0x1D210, 0x1D211, 0x1D212, 0x1D213, 0x1D214, 0x1D215, 0x1D216, 0x1D217,
1.1844 + 0x1D218, 0x1D219, 0x1D21A, 0x1D21B, 0x1D21C, 0x1D21D, 0x1D21E, 0x1D21F,
1.1845 + 0x1D220, 0x1D221, 0x1D222, 0x1D223, 0x1D224, 0x1D225, 0x1D226, 0x1D227,
1.1846 + 0x1D228, 0x1D229, 0x1D22A, 0x1D22B, 0x1D22C, 0x1D22D, 0x1D22E, 0x1D22F,
1.1847 + 0x1D230, 0x1D231, 0x1D232, 0x1D233, 0x1D234, 0x1D235, 0x1D236, 0x1D237,
1.1848 + 0x1D238, 0x1D239, 0x1D23A, 0x1D23B, 0x1D23C, 0x1D23D, 0x1D23E, 0x1D23F,
1.1849 + 0x1D240, 0x1D241, 0x1D242, 0x1D243, 0x1D244, 0x1D245, 0x1D300, 0x1D301,
1.1850 + 0x1D302, 0x1D303, 0x1D304, 0x1D305, 0x1D306, 0x1D307, 0x1D308, 0x1D309,
1.1851 + 0x1D30A, 0x1D30B, 0x1D30C, 0x1D30D, 0x1D30E, 0x1D30F, 0x1D310, 0x1D311,
1.1852 + 0x1D312, 0x1D313, 0x1D314, 0x1D315, 0x1D316, 0x1D317, 0x1D318, 0x1D319,
1.1853 + 0x1D31A, 0x1D31B, 0x1D31C, 0x1D31D, 0x1D31E, 0x1D31F, 0x1D320, 0x1D321,
1.1854 + 0x1D322, 0x1D323, 0x1D324, 0x1D325, 0x1D326, 0x1D327, 0x1D328, 0x1D329,
1.1855 + 0x1D32A, 0x1D32B, 0x1D32C, 0x1D32D, 0x1D32E, 0x1D32F, 0x1D330, 0x1D331,
1.1856 + 0x1D332, 0x1D333, 0x1D334, 0x1D335, 0x1D336, 0x1D337, 0x1D338, 0x1D339,
1.1857 + 0x1D33A, 0x1D33B, 0x1D33C, 0x1D33D, 0x1D33E, 0x1D33F, 0x1D340, 0x1D341,
1.1858 + 0x1D342, 0x1D343, 0x1D344, 0x1D345, 0x1D346, 0x1D347, 0x1D348, 0x1D349,
1.1859 + 0x1D34A, 0x1D34B, 0x1D34C, 0x1D34D, 0x1D34E, 0x1D34F, 0x1D350, 0x1D351,
1.1860 + 0x1D352, 0x1D353, 0x1D354, 0x1D355, 0x1D356, 0x1D360, 0x1D361, 0x1D362,
1.1861 + 0x1D363, 0x1D364, 0x1D365, 0x1D366, 0x1D367, 0x1D368, 0x1D369, 0x1D36A,
1.1862 + 0x1D36B, 0x1D36C, 0x1D36D, 0x1D36E, 0x1D36F, 0x1D370, 0x1D371, 0x1D400,
1.1863 + 0x1D401, 0x1D402, 0x1D403, 0x1D404, 0x1D405, 0x1D406, 0x1D407, 0x1D408,
1.1864 + 0x1D409, 0x1D40A, 0x1D40B, 0x1D40C, 0x1D40D, 0x1D40E, 0x1D40F, 0x1D410,
1.1865 + 0x1D411, 0x1D412, 0x1D413, 0x1D414, 0x1D415, 0x1D416, 0x1D417, 0x1D418,
1.1866 + 0x1D419, 0x1D41A, 0x1D41B, 0x1D41C, 0x1D41D, 0x1D41E, 0x1D41F, 0x1D420,
1.1867 + 0x1D421, 0x1D422, 0x1D423, 0x1D424, 0x1D425, 0x1D426, 0x1D427, 0x1D428,
1.1868 + 0x1D429, 0x1D42A, 0x1D42B, 0x1D42C, 0x1D42D, 0x1D42E, 0x1D42F, 0x1D430,
1.1869 + 0x1D431, 0x1D432, 0x1D433, 0x1D434, 0x1D435, 0x1D436, 0x1D437, 0x1D438,
1.1870 + 0x1D439, 0x1D43A, 0x1D43B, 0x1D43C, 0x1D43D, 0x1D43E, 0x1D43F, 0x1D440,
1.1871 + 0x1D441, 0x1D442, 0x1D443, 0x1D444, 0x1D445, 0x1D446, 0x1D447, 0x1D448,
1.1872 + 0x1D449, 0x1D44A, 0x1D44B, 0x1D44C, 0x1D44D, 0x1D44E, 0x1D44F, 0x1D450,
1.1873 + 0x1D451, 0x1D452, 0x1D453, 0x1D454, 0x1D456, 0x1D457, 0x1D458, 0x1D459,
1.1874 + 0x1D45A, 0x1D45B, 0x1D45C, 0x1D45D, 0x1D45E, 0x1D45F, 0x1D460, 0x1D461,
1.1875 + 0x1D462, 0x1D463, 0x1D464, 0x1D465, 0x1D466, 0x1D467, 0x1D468, 0x1D469,
1.1876 + 0x1D46A, 0x1D46B, 0x1D46C, 0x1D46D, 0x1D46E, 0x1D46F, 0x1D470, 0x1D471,
1.1877 + 0x1D472, 0x1D473, 0x1D474, 0x1D475, 0x1D476, 0x1D477, 0x1D478, 0x1D479,
1.1878 + 0x1D47A, 0x1D47B, 0x1D47C, 0x1D47D, 0x1D47E, 0x1D47F, 0x1D480, 0x1D481,
1.1879 + 0x1D482, 0x1D483, 0x1D484, 0x1D485, 0x1D486, 0x1D487, 0x1D488, 0x1D489,
1.1880 + 0x1D48A, 0x1D48B, 0x1D48C, 0x1D48D, 0x1D48E, 0x1D48F, 0x1D490, 0x1D491,
1.1881 + 0x1D492, 0x1D493, 0x1D494, 0x1D495, 0x1D496, 0x1D497, 0x1D498, 0x1D499,
1.1882 + 0x1D49A, 0x1D49B, 0x1D49C, 0x1D49E, 0x1D49F, 0x1D4A2, 0x1D4A5, 0x1D4A6,
1.1883 + 0x1D4A9, 0x1D4AA, 0x1D4AB, 0x1D4AC, 0x1D4AE, 0x1D4AF, 0x1D4B0, 0x1D4B1,
1.1884 + 0x1D4B2, 0x1D4B3, 0x1D4B4, 0x1D4B5, 0x1D4B6, 0x1D4B7, 0x1D4B8, 0x1D4B9,
1.1885 + 0x1D4BB, 0x1D4BD, 0x1D4BE, 0x1D4BF, 0x1D4C0, 0x1D4C1, 0x1D4C2, 0x1D4C3,
1.1886 + 0x1D4C5, 0x1D4C6, 0x1D4C7, 0x1D4C8, 0x1D4C9, 0x1D4CA, 0x1D4CB, 0x1D4CC,
1.1887 + 0x1D4CD, 0x1D4CE, 0x1D4CF, 0x1D4D0, 0x1D4D1, 0x1D4D2, 0x1D4D3, 0x1D4D4,
1.1888 + 0x1D4D5, 0x1D4D6, 0x1D4D7, 0x1D4D8, 0x1D4D9, 0x1D4DA, 0x1D4DB, 0x1D4DC,
1.1889 + 0x1D4DD, 0x1D4DE, 0x1D4DF, 0x1D4E0, 0x1D4E1, 0x1D4E2, 0x1D4E3, 0x1D4E4,
1.1890 + 0x1D4E5, 0x1D4E6, 0x1D4E7, 0x1D4E8, 0x1D4E9, 0x1D4EA, 0x1D4EB, 0x1D4EC,
1.1891 + 0x1D4ED, 0x1D4EE, 0x1D4EF, 0x1D4F0, 0x1D4F1, 0x1D4F2, 0x1D4F3, 0x1D4F4,
1.1892 + 0x1D4F5, 0x1D4F6, 0x1D4F7, 0x1D4F8, 0x1D4F9, 0x1D4FA, 0x1D4FB, 0x1D4FC,
1.1893 + 0x1D4FD, 0x1D4FE, 0x1D4FF, 0x1D500, 0x1D501, 0x1D502, 0x1D503, 0x1D504,
1.1894 + 0x1D505, 0x1D507, 0x1D508, 0x1D509, 0x1D50A, 0x1D50D, 0x1D50E, 0x1D50F,
1.1895 + 0x1D510, 0x1D511, 0x1D512, 0x1D513, 0x1D514, 0x1D516, 0x1D517, 0x1D518,
1.1896 + 0x1D519, 0x1D51A, 0x1D51B, 0x1D51C, 0x1D51E, 0x1D51F, 0x1D520, 0x1D521,
1.1897 + 0x1D522, 0x1D523, 0x1D524, 0x1D525, 0x1D526, 0x1D527, 0x1D528, 0x1D529,
1.1898 + 0x1D52A, 0x1D52B, 0x1D52C, 0x1D52D, 0x1D52E, 0x1D52F, 0x1D530, 0x1D531,
1.1899 + 0x1D532, 0x1D533, 0x1D534, 0x1D535, 0x1D536, 0x1D537, 0x1D538, 0x1D539,
1.1900 + 0x1D53B, 0x1D53C, 0x1D53D, 0x1D53E, 0x1D540, 0x1D541, 0x1D542, 0x1D543,
1.1901 + 0x1D544, 0x1D546, 0x1D54A, 0x1D54B, 0x1D54C, 0x1D54D, 0x1D54E, 0x1D54F,
1.1902 + 0x1D550, 0x1D552, 0x1D553, 0x1D554, 0x1D555, 0x1D556, 0x1D557, 0x1D558,
1.1903 + 0x1D559, 0x1D55A, 0x1D55B, 0x1D55C, 0x1D55D, 0x1D55E, 0x1D55F, 0x1D560,
1.1904 + 0x1D561, 0x1D562, 0x1D563, 0x1D564, 0x1D565, 0x1D566, 0x1D567, 0x1D568,
1.1905 + 0x1D569, 0x1D56A, 0x1D56B, 0x1D56C, 0x1D56D, 0x1D56E, 0x1D56F, 0x1D570,
1.1906 + 0x1D571, 0x1D572, 0x1D573, 0x1D574, 0x1D575, 0x1D576, 0x1D577, 0x1D578,
1.1907 + 0x1D579, 0x1D57A, 0x1D57B, 0x1D57C, 0x1D57D, 0x1D57E, 0x1D57F, 0x1D580,
1.1908 + 0x1D581, 0x1D582, 0x1D583, 0x1D584, 0x1D585, 0x1D586, 0x1D587, 0x1D588,
1.1909 + 0x1D589, 0x1D58A, 0x1D58B, 0x1D58C, 0x1D58D, 0x1D58E, 0x1D58F, 0x1D590,
1.1910 + 0x1D591, 0x1D592, 0x1D593, 0x1D594, 0x1D595, 0x1D596, 0x1D597, 0x1D598,
1.1911 + 0x1D599, 0x1D59A, 0x1D59B, 0x1D59C, 0x1D59D, 0x1D59E, 0x1D59F, 0x1D5A0,
1.1912 + 0x1D5A1, 0x1D5A2, 0x1D5A3, 0x1D5A4, 0x1D5A5, 0x1D5A6, 0x1D5A7, 0x1D5A8,
1.1913 + 0x1D5A9, 0x1D5AA, 0x1D5AB, 0x1D5AC, 0x1D5AD, 0x1D5AE, 0x1D5AF, 0x1D5B0,
1.1914 + 0x1D5B1, 0x1D5B2, 0x1D5B3, 0x1D5B4, 0x1D5B5, 0x1D5B6, 0x1D5B7, 0x1D5B8,
1.1915 + 0x1D5B9, 0x1D5BA, 0x1D5BB, 0x1D5BC, 0x1D5BD, 0x1D5BE, 0x1D5BF, 0x1D5C0,
1.1916 + 0x1D5C1, 0x1D5C2, 0x1D5C3, 0x1D5C4, 0x1D5C5, 0x1D5C6, 0x1D5C7, 0x1D5C8,
1.1917 + 0x1D5C9, 0x1D5CA, 0x1D5CB, 0x1D5CC, 0x1D5CD, 0x1D5CE, 0x1D5CF, 0x1D5D0,
1.1918 + 0x1D5D1, 0x1D5D2, 0x1D5D3, 0x1D5D4, 0x1D5D5, 0x1D5D6, 0x1D5D7, 0x1D5D8,
1.1919 + 0x1D5D9, 0x1D5DA, 0x1D5DB, 0x1D5DC, 0x1D5DD, 0x1D5DE, 0x1D5DF, 0x1D5E0,
1.1920 + 0x1D5E1, 0x1D5E2, 0x1D5E3, 0x1D5E4, 0x1D5E5, 0x1D5E6, 0x1D5E7, 0x1D5E8,
1.1921 + 0x1D5E9, 0x1D5EA, 0x1D5EB, 0x1D5EC, 0x1D5ED, 0x1D5EE, 0x1D5EF, 0x1D5F0,
1.1922 + 0x1D5F1, 0x1D5F2, 0x1D5F3, 0x1D5F4, 0x1D5F5, 0x1D5F6, 0x1D5F7, 0x1D5F8,
1.1923 + 0x1D5F9, 0x1D5FA, 0x1D5FB, 0x1D5FC, 0x1D5FD, 0x1D5FE, 0x1D5FF, 0x1D600,
1.1924 + 0x1D601, 0x1D602, 0x1D603, 0x1D604, 0x1D605, 0x1D606, 0x1D607, 0x1D608,
1.1925 + 0x1D609, 0x1D60A, 0x1D60B, 0x1D60C, 0x1D60D, 0x1D60E, 0x1D60F, 0x1D610,
1.1926 + 0x1D611, 0x1D612, 0x1D613, 0x1D614, 0x1D615, 0x1D616, 0x1D617, 0x1D618,
1.1927 + 0x1D619, 0x1D61A, 0x1D61B, 0x1D61C, 0x1D61D, 0x1D61E, 0x1D61F, 0x1D620,
1.1928 + 0x1D621, 0x1D622, 0x1D623, 0x1D624, 0x1D625, 0x1D626, 0x1D627, 0x1D628,
1.1929 + 0x1D629, 0x1D62A, 0x1D62B, 0x1D62C, 0x1D62D, 0x1D62E, 0x1D62F, 0x1D630,
1.1930 + 0x1D631, 0x1D632, 0x1D633, 0x1D634, 0x1D635, 0x1D636, 0x1D637, 0x1D638,
1.1931 + 0x1D639, 0x1D63A, 0x1D63B, 0x1D63C, 0x1D63D, 0x1D63E, 0x1D63F, 0x1D640,
1.1932 + 0x1D641, 0x1D642, 0x1D643, 0x1D644, 0x1D645, 0x1D646, 0x1D647, 0x1D648,
1.1933 + 0x1D649, 0x1D64A, 0x1D64B, 0x1D64C, 0x1D64D, 0x1D64E, 0x1D64F, 0x1D650,
1.1934 + 0x1D651, 0x1D652, 0x1D653, 0x1D654, 0x1D655, 0x1D656, 0x1D657, 0x1D658,
1.1935 + 0x1D659, 0x1D65A, 0x1D65B, 0x1D65C, 0x1D65D, 0x1D65E, 0x1D65F, 0x1D660,
1.1936 + 0x1D661, 0x1D662, 0x1D663, 0x1D664, 0x1D665, 0x1D666, 0x1D667, 0x1D668,
1.1937 + 0x1D669, 0x1D66A, 0x1D66B, 0x1D66C, 0x1D66D, 0x1D66E, 0x1D66F, 0x1D670,
1.1938 + 0x1D671, 0x1D672, 0x1D673, 0x1D674, 0x1D675, 0x1D676, 0x1D677, 0x1D678,
1.1939 + 0x1D679, 0x1D67A, 0x1D67B, 0x1D67C, 0x1D67D, 0x1D67E, 0x1D67F, 0x1D680,
1.1940 + 0x1D681, 0x1D682, 0x1D683, 0x1D684, 0x1D685, 0x1D686, 0x1D687, 0x1D688,
1.1941 + 0x1D689, 0x1D68A, 0x1D68B, 0x1D68C, 0x1D68D, 0x1D68E, 0x1D68F, 0x1D690,
1.1942 + 0x1D691, 0x1D692, 0x1D693, 0x1D694, 0x1D695, 0x1D696, 0x1D697, 0x1D698,
1.1943 + 0x1D699, 0x1D69A, 0x1D69B, 0x1D69C, 0x1D69D, 0x1D69E, 0x1D69F, 0x1D6A0,
1.1944 + 0x1D6A1, 0x1D6A2, 0x1D6A3, 0x1D6A4, 0x1D6A5, 0x1D6A8, 0x1D6A9, 0x1D6AA,
1.1945 + 0x1D6AB, 0x1D6AC, 0x1D6AD, 0x1D6AE, 0x1D6AF, 0x1D6B0, 0x1D6B1, 0x1D6B2,
1.1946 + 0x1D6B3, 0x1D6B4, 0x1D6B5, 0x1D6B6, 0x1D6B7, 0x1D6B8, 0x1D6B9, 0x1D6BA,
1.1947 + 0x1D6BB, 0x1D6BC, 0x1D6BD, 0x1D6BE, 0x1D6BF, 0x1D6C0, 0x1D6C1, 0x1D6C2,
1.1948 + 0x1D6C3, 0x1D6C4, 0x1D6C5, 0x1D6C6, 0x1D6C7, 0x1D6C8, 0x1D6C9, 0x1D6CA,
1.1949 + 0x1D6CB, 0x1D6CC, 0x1D6CD, 0x1D6CE, 0x1D6CF, 0x1D6D0, 0x1D6D1, 0x1D6D2,
1.1950 + 0x1D6D3, 0x1D6D4, 0x1D6D5, 0x1D6D6, 0x1D6D7, 0x1D6D8, 0x1D6D9, 0x1D6DA,
1.1951 + 0x1D6DB, 0x1D6DC, 0x1D6DD, 0x1D6DE, 0x1D6DF, 0x1D6E0, 0x1D6E1, 0x1D6E2,
1.1952 + 0x1D6E3, 0x1D6E4, 0x1D6E5, 0x1D6E6, 0x1D6E7, 0x1D6E8, 0x1D6E9, 0x1D6EA,
1.1953 + 0x1D6EB, 0x1D6EC, 0x1D6ED, 0x1D6EE, 0x1D6EF, 0x1D6F0, 0x1D6F1, 0x1D6F2,
1.1954 + 0x1D6F3, 0x1D6F4, 0x1D6F5, 0x1D6F6, 0x1D6F7, 0x1D6F8, 0x1D6F9, 0x1D6FA,
1.1955 + 0x1D6FB, 0x1D6FC, 0x1D6FD, 0x1D6FE, 0x1D6FF, 0x1D700, 0x1D701, 0x1D702,
1.1956 + 0x1D703, 0x1D704, 0x1D705, 0x1D706, 0x1D707, 0x1D708, 0x1D709, 0x1D70A,
1.1957 + 0x1D70B, 0x1D70C, 0x1D70D, 0x1D70E, 0x1D70F, 0x1D710, 0x1D711, 0x1D712,
1.1958 + 0x1D713, 0x1D714, 0x1D715, 0x1D716, 0x1D717, 0x1D718, 0x1D719, 0x1D71A,
1.1959 + 0x1D71B, 0x1D71C, 0x1D71D, 0x1D71E, 0x1D71F, 0x1D720, 0x1D721, 0x1D722,
1.1960 + 0x1D723, 0x1D724, 0x1D725, 0x1D726, 0x1D727, 0x1D728, 0x1D729, 0x1D72A,
1.1961 + 0x1D72B, 0x1D72C, 0x1D72D, 0x1D72E, 0x1D72F, 0x1D730, 0x1D731, 0x1D732,
1.1962 + 0x1D733, 0x1D734, 0x1D735, 0x1D736, 0x1D737, 0x1D738, 0x1D739, 0x1D73A,
1.1963 + 0x1D73B, 0x1D73C, 0x1D73D, 0x1D73E, 0x1D73F, 0x1D740, 0x1D741, 0x1D742,
1.1964 + 0x1D743, 0x1D744, 0x1D745, 0x1D746, 0x1D747, 0x1D748, 0x1D749, 0x1D74A,
1.1965 + 0x1D74B, 0x1D74C, 0x1D74D, 0x1D74E, 0x1D74F, 0x1D750, 0x1D751, 0x1D752,
1.1966 + 0x1D753, 0x1D754, 0x1D755, 0x1D756, 0x1D757, 0x1D758, 0x1D759, 0x1D75A,
1.1967 + 0x1D75B, 0x1D75C, 0x1D75D, 0x1D75E, 0x1D75F, 0x1D760, 0x1D761, 0x1D762,
1.1968 + 0x1D763, 0x1D764, 0x1D765, 0x1D766, 0x1D767, 0x1D768, 0x1D769, 0x1D76A,
1.1969 + 0x1D76B, 0x1D76C, 0x1D76D, 0x1D76E, 0x1D76F, 0x1D770, 0x1D771, 0x1D772,
1.1970 + 0x1D773, 0x1D774, 0x1D775, 0x1D776, 0x1D777, 0x1D778, 0x1D779, 0x1D77A,
1.1971 + 0x1D77B, 0x1D77C, 0x1D77D, 0x1D77E, 0x1D77F, 0x1D780, 0x1D781, 0x1D782,
1.1972 + 0x1D783, 0x1D784, 0x1D785, 0x1D786, 0x1D787, 0x1D788, 0x1D789, 0x1D78A,
1.1973 + 0x1D78B, 0x1D78C, 0x1D78D, 0x1D78E, 0x1D78F, 0x1D790, 0x1D791, 0x1D792,
1.1974 + 0x1D793, 0x1D794, 0x1D795, 0x1D796, 0x1D797, 0x1D798, 0x1D799, 0x1D79A,
1.1975 + 0x1D79B, 0x1D79C, 0x1D79D, 0x1D79E, 0x1D79F, 0x1D7A0, 0x1D7A1, 0x1D7A2,
1.1976 + 0x1D7A3, 0x1D7A4, 0x1D7A5, 0x1D7A6, 0x1D7A7, 0x1D7A8, 0x1D7A9, 0x1D7AA,
1.1977 + 0x1D7AB, 0x1D7AC, 0x1D7AD, 0x1D7AE, 0x1D7AF, 0x1D7B0, 0x1D7B1, 0x1D7B2,
1.1978 + 0x1D7B3, 0x1D7B4, 0x1D7B5, 0x1D7B6, 0x1D7B7, 0x1D7B8, 0x1D7B9, 0x1D7BA,
1.1979 + 0x1D7BB, 0x1D7BC, 0x1D7BD, 0x1D7BE, 0x1D7BF, 0x1D7C0, 0x1D7C1, 0x1D7C2,
1.1980 + 0x1D7C3, 0x1D7C4, 0x1D7C5, 0x1D7C6, 0x1D7C7, 0x1D7C8, 0x1D7C9, 0x1D7CA,
1.1981 + 0x1D7CB, 0x1D7CE, 0x1D7CF, 0x1D7D0, 0x1D7D1, 0x1D7D2, 0x1D7D3, 0x1D7D4,
1.1982 + 0x1D7D5, 0x1D7D6, 0x1D7D7, 0x1D7D8, 0x1D7D9, 0x1D7DA, 0x1D7DB, 0x1D7DC,
1.1983 + 0x1D7DD, 0x1D7DE, 0x1D7DF, 0x1D7E0, 0x1D7E1, 0x1D7E2, 0x1D7E3, 0x1D7E4,
1.1984 + 0x1D7E5, 0x1D7E6, 0x1D7E7, 0x1D7E8, 0x1D7E9, 0x1D7EA, 0x1D7EB, 0x1D7EC,
1.1985 + 0x1D7ED, 0x1D7EE, 0x1D7EF, 0x1D7F0, 0x1D7F1, 0x1D7F2, 0x1D7F3, 0x1D7F4,
1.1986 + 0x1D7F5, 0x1D7F6, 0x1D7F7, 0x1D7F8, 0x1D7F9, 0x1D7FA, 0x1D7FB, 0x1D7FC,
1.1987 + 0x1D7FD, 0x1D7FE, 0x1D7FF, 0x20000, 0x2A6D6, 0x2F800, 0x2F801, 0x2F802,
1.1988 + 0x2F803, 0x2F804, 0x2F805, 0x2F806, 0x2F807, 0x2F808, 0x2F809, 0x2F80A,
1.1989 + 0x2F80B, 0x2F80C, 0x2F80D, 0x2F80E, 0x2F80F, 0x2F810, 0x2F811, 0x2F812,
1.1990 + 0x2F813, 0x2F814, 0x2F815, 0x2F816, 0x2F817, 0x2F818, 0x2F819, 0x2F81A,
1.1991 + 0x2F81B, 0x2F81C, 0x2F81D, 0x2F81E, 0x2F81F, 0x2F820, 0x2F821, 0x2F822,
1.1992 + 0x2F823, 0x2F824, 0x2F825, 0x2F826, 0x2F827, 0x2F828, 0x2F829, 0x2F82A,
1.1993 + 0x2F82B, 0x2F82C, 0x2F82D, 0x2F82E, 0x2F82F, 0x2F830, 0x2F831, 0x2F832,
1.1994 + 0x2F833, 0x2F834, 0x2F835, 0x2F836, 0x2F837, 0x2F838, 0x2F839, 0x2F83A,
1.1995 + 0x2F83B, 0x2F83C, 0x2F83D, 0x2F83E, 0x2F83F, 0x2F840, 0x2F841, 0x2F842,
1.1996 + 0x2F843, 0x2F844, 0x2F845, 0x2F846, 0x2F847, 0x2F848, 0x2F849, 0x2F84A,
1.1997 + 0x2F84B, 0x2F84C, 0x2F84D, 0x2F84E, 0x2F84F, 0x2F850, 0x2F851, 0x2F852,
1.1998 + 0x2F853, 0x2F854, 0x2F855, 0x2F856, 0x2F857, 0x2F858, 0x2F859, 0x2F85A,
1.1999 + 0x2F85B, 0x2F85C, 0x2F85D, 0x2F85E, 0x2F85F, 0x2F860, 0x2F861, 0x2F862,
1.2000 + 0x2F863, 0x2F864, 0x2F865, 0x2F866, 0x2F867, 0x2F868, 0x2F869, 0x2F86A,
1.2001 + 0x2F86B, 0x2F86C, 0x2F86D, 0x2F86E, 0x2F86F, 0x2F870, 0x2F871, 0x2F872,
1.2002 + 0x2F873, 0x2F874, 0x2F875, 0x2F876, 0x2F877, 0x2F878, 0x2F879, 0x2F87A,
1.2003 + 0x2F87B, 0x2F87C, 0x2F87D, 0x2F87E, 0x2F87F, 0x2F880, 0x2F881, 0x2F882,
1.2004 + 0x2F883, 0x2F884, 0x2F885, 0x2F886, 0x2F887, 0x2F888, 0x2F889, 0x2F88A,
1.2005 + 0x2F88B, 0x2F88C, 0x2F88D, 0x2F88E, 0x2F88F, 0x2F890, 0x2F891, 0x2F892,
1.2006 + 0x2F893, 0x2F894, 0x2F895, 0x2F896, 0x2F897, 0x2F898, 0x2F899, 0x2F89A,
1.2007 + 0x2F89B, 0x2F89C, 0x2F89D, 0x2F89E, 0x2F89F, 0x2F8A0, 0x2F8A1, 0x2F8A2,
1.2008 + 0x2F8A3, 0x2F8A4, 0x2F8A5, 0x2F8A6, 0x2F8A7, 0x2F8A8, 0x2F8A9, 0x2F8AA,
1.2009 + 0x2F8AB, 0x2F8AC, 0x2F8AD, 0x2F8AE, 0x2F8AF, 0x2F8B0, 0x2F8B1, 0x2F8B2,
1.2010 + 0x2F8B3, 0x2F8B4, 0x2F8B5, 0x2F8B6, 0x2F8B7, 0x2F8B8, 0x2F8B9, 0x2F8BA,
1.2011 + 0x2F8BB, 0x2F8BC, 0x2F8BD, 0x2F8BE, 0x2F8BF, 0x2F8C0, 0x2F8C1, 0x2F8C2,
1.2012 + 0x2F8C3, 0x2F8C4, 0x2F8C5, 0x2F8C6, 0x2F8C7, 0x2F8C8, 0x2F8C9, 0x2F8CA,
1.2013 + 0x2F8CB, 0x2F8CC, 0x2F8CD, 0x2F8CE, 0x2F8CF, 0x2F8D0, 0x2F8D1, 0x2F8D2,
1.2014 + 0x2F8D3, 0x2F8D4, 0x2F8D5, 0x2F8D6, 0x2F8D7, 0x2F8D8, 0x2F8D9, 0x2F8DA,
1.2015 + 0x2F8DB, 0x2F8DC, 0x2F8DD, 0x2F8DE, 0x2F8DF, 0x2F8E0, 0x2F8E1, 0x2F8E2,
1.2016 + 0x2F8E3, 0x2F8E4, 0x2F8E5, 0x2F8E6, 0x2F8E7, 0x2F8E8, 0x2F8E9, 0x2F8EA,
1.2017 + 0x2F8EB, 0x2F8EC, 0x2F8ED, 0x2F8EE, 0x2F8EF, 0x2F8F0, 0x2F8F1, 0x2F8F2,
1.2018 + 0x2F8F3, 0x2F8F4, 0x2F8F5, 0x2F8F6, 0x2F8F7, 0x2F8F8, 0x2F8F9, 0x2F8FA,
1.2019 + 0x2F8FB, 0x2F8FC, 0x2F8FD, 0x2F8FE, 0x2F8FF, 0x2F900, 0x2F901, 0x2F902,
1.2020 + 0x2F903, 0x2F904, 0x2F905, 0x2F906, 0x2F907, 0x2F908, 0x2F909, 0x2F90A,
1.2021 + 0x2F90B, 0x2F90C, 0x2F90D, 0x2F90E, 0x2F90F, 0x2F910, 0x2F911, 0x2F912,
1.2022 + 0x2F913, 0x2F914, 0x2F915, 0x2F916, 0x2F917, 0x2F918, 0x2F919, 0x2F91A,
1.2023 + 0x2F91B, 0x2F91C, 0x2F91D, 0x2F91E, 0x2F91F, 0x2F920, 0x2F921, 0x2F922,
1.2024 + 0x2F923, 0x2F924, 0x2F925, 0x2F926, 0x2F927, 0x2F928, 0x2F929, 0x2F92A,
1.2025 + 0x2F92B, 0x2F92C, 0x2F92D, 0x2F92E, 0x2F92F, 0x2F930, 0x2F931, 0x2F932,
1.2026 + 0x2F933, 0x2F934, 0x2F935, 0x2F936, 0x2F937, 0x2F938, 0x2F939, 0x2F93A,
1.2027 + 0x2F93B, 0x2F93C, 0x2F93D, 0x2F93E, 0x2F93F, 0x2F940, 0x2F941, 0x2F942,
1.2028 + 0x2F943, 0x2F944, 0x2F945, 0x2F946, 0x2F947, 0x2F948, 0x2F949, 0x2F94A,
1.2029 + 0x2F94B, 0x2F94C, 0x2F94D, 0x2F94E, 0x2F94F, 0x2F950, 0x2F951, 0x2F952,
1.2030 + 0x2F953, 0x2F954, 0x2F955, 0x2F956, 0x2F957, 0x2F958, 0x2F959, 0x2F95A,
1.2031 + 0x2F95B, 0x2F95C, 0x2F95D, 0x2F95E, 0x2F95F, 0x2F960, 0x2F961, 0x2F962,
1.2032 + 0x2F963, 0x2F964, 0x2F965, 0x2F966, 0x2F967, 0x2F968, 0x2F969, 0x2F96A,
1.2033 + 0x2F96B, 0x2F96C, 0x2F96D, 0x2F96E, 0x2F96F, 0x2F970, 0x2F971, 0x2F972,
1.2034 + 0x2F973, 0x2F974, 0x2F975, 0x2F976, 0x2F977, 0x2F978, 0x2F979, 0x2F97A,
1.2035 + 0x2F97B, 0x2F97C, 0x2F97D, 0x2F97E, 0x2F97F, 0x2F980, 0x2F981, 0x2F982,
1.2036 + 0x2F983, 0x2F984, 0x2F985, 0x2F986, 0x2F987, 0x2F988, 0x2F989, 0x2F98A,
1.2037 + 0x2F98B, 0x2F98C, 0x2F98D, 0x2F98E, 0x2F98F, 0x2F990, 0x2F991, 0x2F992,
1.2038 + 0x2F993, 0x2F994, 0x2F995, 0x2F996, 0x2F997, 0x2F998, 0x2F999, 0x2F99A,
1.2039 + 0x2F99B, 0x2F99C, 0x2F99D, 0x2F99E, 0x2F99F, 0x2F9A0, 0x2F9A1, 0x2F9A2,
1.2040 + 0x2F9A3, 0x2F9A4, 0x2F9A5, 0x2F9A6, 0x2F9A7, 0x2F9A8, 0x2F9A9, 0x2F9AA,
1.2041 + 0x2F9AB, 0x2F9AC, 0x2F9AD, 0x2F9AE, 0x2F9AF, 0x2F9B0, 0x2F9B1, 0x2F9B2,
1.2042 + 0x2F9B3, 0x2F9B4, 0x2F9B5, 0x2F9B6, 0x2F9B7, 0x2F9B8, 0x2F9B9, 0x2F9BA,
1.2043 + 0x2F9BB, 0x2F9BC, 0x2F9BD, 0x2F9BE, 0x2F9BF, 0x2F9C0, 0x2F9C1, 0x2F9C2,
1.2044 + 0x2F9C3, 0x2F9C4, 0x2F9C5, 0x2F9C6, 0x2F9C7, 0x2F9C8, 0x2F9C9, 0x2F9CA,
1.2045 + 0x2F9CB, 0x2F9CC, 0x2F9CD, 0x2F9CE, 0x2F9CF, 0x2F9D0, 0x2F9D1, 0x2F9D2,
1.2046 + 0x2F9D3, 0x2F9D4, 0x2F9D5, 0x2F9D6, 0x2F9D7, 0x2F9D8, 0x2F9D9, 0x2F9DA,
1.2047 + 0x2F9DB, 0x2F9DC, 0x2F9DD, 0x2F9DE, 0x2F9DF, 0x2F9E0, 0x2F9E1, 0x2F9E2,
1.2048 + 0x2F9E3, 0x2F9E4, 0x2F9E5, 0x2F9E6, 0x2F9E7, 0x2F9E8, 0x2F9E9, 0x2F9EA,
1.2049 + 0x2F9EB, 0x2F9EC, 0x2F9ED, 0x2F9EE, 0x2F9EF, 0x2F9F0, 0x2F9F1, 0x2F9F2,
1.2050 + 0x2F9F3, 0x2F9F4, 0x2F9F5, 0x2F9F6, 0x2F9F7, 0x2F9F8, 0x2F9F9, 0x2F9FA,
1.2051 + 0x2F9FB, 0x2F9FC, 0x2F9FD, 0x2F9FE, 0x2F9FF, 0x2FA00, 0x2FA01, 0x2FA02,
1.2052 + 0x2FA03, 0x2FA04, 0x2FA05, 0x2FA06, 0x2FA07, 0x2FA08, 0x2FA09, 0x2FA0A,
1.2053 + 0x2FA0B, 0x2FA0C, 0x2FA0D, 0x2FA0E, 0x2FA0F, 0x2FA10, 0x2FA11, 0x2FA12,
1.2054 + 0x2FA13, 0x2FA14, 0x2FA15, 0x2FA16, 0x2FA17, 0x2FA18, 0x2FA19, 0x2FA1A,
1.2055 + 0x2FA1B, 0x2FA1C, 0x2FA1D, 0xE0001, 0xE0020, 0xE0021, 0xE0022, 0xE0023,
1.2056 + 0xE0024, 0xE0025, 0xE0026, 0xE0027, 0xE0028, 0xE0029, 0xE002A, 0xE002B,
1.2057 + 0xE002C, 0xE002D, 0xE002E, 0xE002F, 0xE0030, 0xE0031, 0xE0032, 0xE0033,
1.2058 + 0xE0034, 0xE0035, 0xE0036, 0xE0037, 0xE0038, 0xE0039, 0xE003A, 0xE003B,
1.2059 + 0xE003C, 0xE003D, 0xE003E, 0xE003F, 0xE0040, 0xE0041, 0xE0042, 0xE0043,
1.2060 + 0xE0044, 0xE0045, 0xE0046, 0xE0047, 0xE0048, 0xE0049, 0xE004A, 0xE004B,
1.2061 + 0xE004C, 0xE004D, 0xE004E, 0xE004F, 0xE0050, 0xE0051, 0xE0052, 0xE0053,
1.2062 + 0xE0054, 0xE0055, 0xE0056, 0xE0057, 0xE0058, 0xE0059, 0xE005A, 0xE005B,
1.2063 + 0xE005C, 0xE005D, 0xE005E, 0xE005F, 0xE0060, 0xE0061, 0xE0062, 0xE0063,
1.2064 + 0xE0064, 0xE0065, 0xE0066, 0xE0067, 0xE0068, 0xE0069, 0xE006A, 0xE006B,
1.2065 + 0xE006C, 0xE006D, 0xE006E, 0xE006F, 0xE0070, 0xE0071, 0xE0072, 0xE0073,
1.2066 + 0xE0074, 0xE0075, 0xE0076, 0xE0077, 0xE0078, 0xE0079, 0xE007A, 0xE007B,
1.2067 + 0xE007C, 0xE007D, 0xE007E, 0xE007F, 0xE0100, 0xE0101, 0xE0102, 0xE0103,
1.2068 + 0xE0104, 0xE0105, 0xE0106, 0xE0107, 0xE0108, 0xE0109, 0xE010A, 0xE010B,
1.2069 + 0xE010C, 0xE010D, 0xE010E, 0xE010F, 0xE0110, 0xE0111, 0xE0112, 0xE0113,
1.2070 + 0xE0114, 0xE0115, 0xE0116, 0xE0117, 0xE0118, 0xE0119, 0xE011A, 0xE011B,
1.2071 + 0xE011C, 0xE011D, 0xE011E, 0xE011F, 0xE0120, 0xE0121, 0xE0122, 0xE0123,
1.2072 + 0xE0124, 0xE0125, 0xE0126, 0xE0127, 0xE0128, 0xE0129, 0xE012A, 0xE012B,
1.2073 + 0xE012C, 0xE012D, 0xE012E, 0xE012F, 0xE0130, 0xE0131, 0xE0132, 0xE0133,
1.2074 + 0xE0134, 0xE0135, 0xE0136, 0xE0137, 0xE0138, 0xE0139, 0xE013A, 0xE013B,
1.2075 + 0xE013C, 0xE013D, 0xE013E, 0xE013F, 0xE0140, 0xE0141, 0xE0142, 0xE0143,
1.2076 + 0xE0144, 0xE0145, 0xE0146, 0xE0147, 0xE0148, 0xE0149, 0xE014A, 0xE014B,
1.2077 + 0xE014C, 0xE014D, 0xE014E, 0xE014F, 0xE0150, 0xE0151, 0xE0152, 0xE0153,
1.2078 + 0xE0154, 0xE0155, 0xE0156, 0xE0157, 0xE0158, 0xE0159, 0xE015A, 0xE015B,
1.2079 + 0xE015C, 0xE015D, 0xE015E, 0xE015F, 0xE0160, 0xE0161, 0xE0162, 0xE0163,
1.2080 + 0xE0164, 0xE0165, 0xE0166, 0xE0167, 0xE0168, 0xE0169, 0xE016A, 0xE016B,
1.2081 + 0xE016C, 0xE016D, 0xE016E, 0xE016F, 0xE0170, 0xE0171, 0xE0172, 0xE0173,
1.2082 + 0xE0174, 0xE0175, 0xE0176, 0xE0177, 0xE0178, 0xE0179, 0xE017A, 0xE017B,
1.2083 + 0xE017C, 0xE017D, 0xE017E, 0xE017F, 0xE0180, 0xE0181, 0xE0182, 0xE0183,
1.2084 + 0xE0184, 0xE0185, 0xE0186, 0xE0187, 0xE0188, 0xE0189, 0xE018A, 0xE018B,
1.2085 + 0xE018C, 0xE018D, 0xE018E, 0xE018F, 0xE0190, 0xE0191, 0xE0192, 0xE0193,
1.2086 + 0xE0194, 0xE0195, 0xE0196, 0xE0197, 0xE0198, 0xE0199, 0xE019A, 0xE019B,
1.2087 + 0xE019C, 0xE019D, 0xE019E, 0xE019F, 0xE01A0, 0xE01A1, 0xE01A2, 0xE01A3,
1.2088 + 0xE01A4, 0xE01A5, 0xE01A6, 0xE01A7, 0xE01A8, 0xE01A9, 0xE01AA, 0xE01AB,
1.2089 + 0xE01AC, 0xE01AD, 0xE01AE, 0xE01AF, 0xE01B0, 0xE01B1, 0xE01B2, 0xE01B3,
1.2090 + 0xE01B4, 0xE01B5, 0xE01B6, 0xE01B7, 0xE01B8, 0xE01B9, 0xE01BA, 0xE01BB,
1.2091 + 0xE01BC, 0xE01BD, 0xE01BE, 0xE01BF, 0xE01C0, 0xE01C1, 0xE01C2, 0xE01C3,
1.2092 + 0xE01C4, 0xE01C5, 0xE01C6, 0xE01C7, 0xE01C8, 0xE01C9, 0xE01CA, 0xE01CB,
1.2093 + 0xE01CC, 0xE01CD, 0xE01CE, 0xE01CF, 0xE01D0, 0xE01D1, 0xE01D2, 0xE01D3,
1.2094 + 0xE01D4, 0xE01D5, 0xE01D6, 0xE01D7, 0xE01D8, 0xE01D9, 0xE01DA, 0xE01DB,
1.2095 + 0xE01DC, 0xE01DD, 0xE01DE, 0xE01DF, 0xE01E0, 0xE01E1, 0xE01E2, 0xE01E3,
1.2096 + 0xE01E4, 0xE01E5, 0xE01E6, 0xE01E7, 0xE01E8, 0xE01E9, 0xE01EA, 0xE01EB,
1.2097 + 0xE01EC, 0xE01ED, 0xE01EE, 0xE01EF,
1.2098 +};
1.2099 +
1.2100 +
1.2101 +
1.2102 +//----------------------------------------------------------------------------------------------
1.2103 +
1.2104 +/**
1.2105 + @SYMTestCaseID TI18N-UCD-CT-4001
1.2106 + @SYMPREQ 2471
1.2107 + @SYMTestCaseDesc Check UCD support for newly added codepoint.
1.2108 + @SYMTestPriority High
1.2109 + @SYMTestStatus Implemented
1.2110 + @SYMTestActions 1. Select new UCD codepoint
1.2111 + 2. Get the characters' properties from UCD
1.2112 + @SYMTestExpectedResults All properties of the characters are retrieved from UCD
1.2113 + */
1.2114 +//----------------------------------------------------------------------------------------------
1.2115 +// test for characters' attribute newly added or changed in Unicode 5.0
1.2116 +// the characters are chosen randomly from different blocks
1.2117 +void test_unicode5_new_chars()
1.2118 + {
1.2119 + test_unicode_char(0x002B,_L("Sm b=ES w=3"),_L("+"));
1.2120 + test_unicode_char(0x002D,_L("Pd b=ES w=3"),_L("-"));
1.2121 + test_unicode_char(0x002F,_L("Po b=CS w=3"),_L("/"));
1.2122 + test_unicode_char(0x00AD,_L("Cf b=BN np ng"),_L("SOFT HYPHEN"));
1.2123 + test_unicode_char(0x00B2,_L("No b=EN n=2"),_L("SUPERSCRIPT TWO"));
1.2124 + test_unicode_char(0x019E,_L("Ll u=220"),_L("LATIN SMALL LETTER N WITH LONG RIGHT LEG"));
1.2125 + test_unicode_char(0x01C5,_L("Lt u=1c4 l=1c6"),_L("LATIN CAPITAL LETTER D WITH SMALL LETTER Z WITH CARON"));
1.2126 + test_unicode_char(0x0234,_L("Ll"),_L("LATIN SMALL LETTER L WITH CURL"));
1.2127 + test_unicode_char(0x0294,_L("Lo"),_L("LATIN LETTER GLOTTAL STOP"));
1.2128 + test_unicode_char(0x02AE,_L("Ll"),_L("LATIN SMALL LETTER TURNED H WITH FISHHOOK"));
1.2129 + test_unicode_char(0x02C6,_L("Lm b=ON"),_L("MODIFIER LETTER CIRCUMFLEX ACCENT"));
1.2130 + test_unicode_char(0x02FF,_L("Sk b=ON"),_L("MODIFIER LETTER LOW LEFT ARROW"));
1.2131 + test_unicode_char(0x034F,_L("Mn b=NSM"),_L("COMBINING GRAPHEME JOINER"));
1.2132 + test_unicode_char(0x03D8,_L("Lu l=3d9"),_L("GREEK LETTER ARCHAIC KOPPA"));
1.2133 + test_unicode_char(0x03F2,_L("Ll u=3f9"),_L("GREEK LUNATE SIGMA SYMBOL"));
1.2134 + test_unicode_char(0x04C0,_L("Lu l=4cf"),_L("CYRILLIC LETTER PALOCHKA"));
1.2135 + test_unicode_char(0x06FF,_L("Lo b=AL"),_L("ARABIC LETTER HEH WITH INVERTED V"));
1.2136 + test_unicode_char(0x07C0,_L("Nd b=R n=0"),_L("NKO DIGIT ZERO"));
1.2137 + test_unicode_char(0x097F,_L("Lo"),_L("DEVANAGARI LETTER BBA"));
1.2138 + test_unicode_char(0x0B83,_L("Lo"),_L("TAMIL SIGN VISARGA"));
1.2139 + test_unicode_char(0x0CBD,_L("Lo"),_L("KANNADA SIGN AVAGRAHA"));
1.2140 + test_unicode_char(0x0F3A,_L("Ps b=ON m"),_L("TIBETAN MARK GUG RTAGS GYON"));
1.2141 + test_unicode_char(0x10A0,_L("Lu l=2d00"),_L("GEORGIAN CAPITAL LETTER AN"));
1.2142 + test_unicode_char(0x1369,_L("No n=1"),_L("ETHIOPIC DIGIT ONE"));
1.2143 + test_unicode_char(0x1900,_L("Lo"),_L("LIMBU VOWEL-CARRIER LETTER"));
1.2144 + test_unicode_char(0x200B,_L("Cf b=BN np ng"),_L("ZERO WIDTH SPACE"));
1.2145 + test_unicode_char(0x202F,_L("Zs b=CS ng"),_L("NARROW NO-BREAK SPACE"));
1.2146 + test_unicode_char(0x214E,_L("Ll u=2132"),_L("TURNED SMALL F"));
1.2147 + test_unicode_char(0x2DBE,_L("Lo"),_L("ETHIOPIC SYLLABLE CCHO"));
1.2148 + test_unicode_char(0x4DC0,_L("So b=ON w=4"),_L("HEXAGRAM FOR THE CREATIVE HEAVEN"));
1.2149 + test_unicode_char(0x9FA6,_L("Lo w=4"),_L("CJK UNIFIED IDEOGRAPH-9FA6"));
1.2150 + test_unicode_char(0xA721,_L("Sk b=ON w=4"),_L("MODIFIER LETTER STRESS AND LOW TONE"));
1.2151 + test_unicode_char(0xFE00,_L("Mn b=NSM"),_L("VARIATION SELECTOR-1"));
1.2152 + test_unicode_char(0x10100,_L("Po"),_L("AEGEAN WORD SEPARATOR LINE"));
1.2153 + test_unicode_char(0x20000,_L("Lo w=4"),_L("CJK UNIFIED IDEOGRAPH-20000"));
1.2154 + test_unicode_char(0x2F800,_L("Lo w=4 d=4e3d"),_L("CJK UNIFIED IDEOGRAPH-2F800"));
1.2155 + }
1.2156 +
1.2157 +static void Unicode5NewCharTest()
1.2158 + {
1.2159 + TUint32 i;
1.2160 + for (i=0; i < sizeof(Unicode5NewCharRange)/sizeof(TUint32); i+=2)
1.2161 + {
1.2162 + TUint32 from = Unicode5NewCharRange[i];
1.2163 + TUint32 to = Unicode5NewCharRange[i + 1];
1.2164 +
1.2165 + for (TUint32 ch = from; ch <= to; ch++)
1.2166 + {
1.2167 + TChar c(ch);
1.2168 +
1.2169 + TChar::TCharInfo ci;
1.2170 + c.GetInfo(ci);
1.2171 +
1.2172 + test((ci.iCategory & TChar::EUnassignedGroup) != TChar::EUnassignedGroup);
1.2173 +
1.2174 + }
1.2175 + }
1.2176 + for (i=0; i < sizeof(Unicode5NewCharOutBMPIndex)/sizeof(TUint32); i++)
1.2177 + {
1.2178 + TUint32 ch = Unicode5NewCharOutBMPIndex[i];
1.2179 + TChar c(ch);
1.2180 +
1.2181 + TChar::TCharInfo ci;
1.2182 + c.GetInfo(ci);
1.2183 +
1.2184 + test((ci.iCategory & TChar::EUnassignedGroup) != TChar::EUnassignedGroup);
1.2185 +
1.2186 + }
1.2187 + }
1.2188 +
1.2189 +//----------------------------------------------------------------------------------------------
1.2190 +
1.2191 +/**
1.2192 + @SYMTestCaseID TI18N-UCD-CT-4002
1.2193 + @SYMPREQ 2471
1.2194 + @SYMTestCaseDesc Check UCD support for one byte GB18030 character mapping/support.
1.2195 + @SYMTestPriority High
1.2196 + @SYMTestStatus Implemented
1.2197 + @SYMTestActions 1. Select characters from one-byte character set
1.2198 + 2. Get the characters' properties from UCD
1.2199 + @SYMTestExpectedResults All properties of the characters are retrieved from UCD
1.2200 + */
1.2201 +//----------------------------------------------------------------------------------------------
1.2202 +static void GB18030OneByteCharTest()
1.2203 + {
1.2204 + for (TInt32 i=0; i <= 127; i++)
1.2205 + {
1.2206 + TUint32 ch = i;
1.2207 + TChar c(ch);
1.2208 +
1.2209 + TChar::TCharInfo ci;
1.2210 + c.GetInfo(ci);
1.2211 +
1.2212 + test((ci.iCategory & TChar::EUnassignedGroup) != TChar::EUnassignedGroup);
1.2213 + }
1.2214 + }
1.2215 +
1.2216 +//----------------------------------------------------------------------------------------------
1.2217 +
1.2218 +/**
1.2219 + @SYMTestCaseID TI18N-UCD-CT-4003
1.2220 + @SYMPREQ 2471
1.2221 + @SYMTestCaseDesc Check UCD support for four-byte GB18030 character mapping/support.
1.2222 + @SYMTestPriority High
1.2223 + @SYMTestStatus Implemented
1.2224 + @SYMTestActions 1. Select characters from CJK Ext B
1.2225 + 2. Get the characters' properties from UCD
1.2226 + 3. Select characters from CJK Compat Ideograph
1.2227 + 4. Get the character's properties from UCD
1.2228 + @SYMTestExpectedResults All properties of the characters are retrieved from UCD
1.2229 + */
1.2230 +//----------------------------------------------------------------------------------------------
1.2231 +static void GB18030FourBytesCharTest()
1.2232 + {
1.2233 + /* CJK Ideograph Extension B */
1.2234 + for (TInt32 i=0x20000; i <= 0x2A6D6; i++)
1.2235 + {
1.2236 + TUint32 ch = i;
1.2237 + TChar c(ch);
1.2238 +
1.2239 + TChar::TCharInfo ci;
1.2240 + c.GetInfo(ci);
1.2241 +
1.2242 + test((ci.iCategory & TChar::EUnassignedGroup) != TChar::EUnassignedGroup);
1.2243 + }
1.2244 +
1.2245 + /* CJK COMPATIBILITY IDEOGRAPH has been tested in Unicode 5 New char */
1.2246 + }
1.2247 +
1.2248 +GLDEF_C TInt E32Main(void)
1.2249 + {
1.2250 +
1.2251 + test.Title();
1.2252 + test.Start(_L("TCHAR TESTING"));
1.2253 +
1.2254 + test_unicode_chars();
1.2255 + test_unicode_collations();
1.2256 +
1.2257 + test.Next(_L("TChar"));
1.2258 + TestTChar<TChar> t;
1.2259 + t.Test1();
1.2260 + t.Test2(eTChar);
1.2261 + t.Test3(eTChar);
1.2262 + t.Test4(eTChar);
1.2263 +
1.2264 + test.Next(_L("TCharF"));
1.2265 + TestTChar<TCharF> f;
1.2266 + f.Test2(eTCharF);
1.2267 + f.Test3(eTCharF);
1.2268 + f.Test4(eTCharF);
1.2269 +
1.2270 + test.Next(_L("TCharLC"));
1.2271 + TestTChar<TCharLC> lc;
1.2272 + lc.Test2(eTCharLC);
1.2273 + lc.Test3(eTCharLC);
1.2274 + lc.Test4(eTCharLC);
1.2275 +
1.2276 + test.Next(_L("TCharUC"));
1.2277 + TestTChar<TCharUC> uc;
1.2278 + uc.Test2(eTCharUC);
1.2279 + uc.Test3(eTCharUC);
1.2280 + uc.Test4(eTCharUC);
1.2281 +
1.2282 + test.Next(_L("Unicode 5 New"));
1.2283 + Unicode5NewCharTest();
1.2284 + test_unicode5_new_chars();
1.2285 +
1.2286 + test.Next(_L("GB18030 One and Four Bytes Character"));
1.2287 + GB18030OneByteCharTest();
1.2288 + GB18030FourBytesCharTest();
1.2289 +
1.2290 + test.End();
1.2291 + return(KErrNone);
1.2292 + }
1.2293 +
1.2294 +#pragma warning ( default :4700)
1.2295 +#pragma warning ( default :4710)