Skip to content

Commit

Permalink
Unicode Character Data 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rhdunn committed Jun 28, 2014
1 parent ec34ff5 commit b757f60
Show file tree
Hide file tree
Showing 4 changed files with 873 additions and 293 deletions.
100 changes: 99 additions & 1 deletion src/case.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

using namespace ucd;

// Unicode Character Data 6.3.0
// Unicode Character Data 7.0.0

struct case_conversion_entry
{
Expand Down Expand Up @@ -477,26 +477,31 @@ static const case_conversion_entry case_conversion_data[] =
{ 0x000257, 0x00018A, 0x000000, 0x00018A },
{ 0x000259, 0x00018F, 0x000000, 0x00018F },
{ 0x00025B, 0x000190, 0x000000, 0x000190 },
{ 0x00025C, 0x00A7AB, 0x000000, 0x00A7AB },
{ 0x000260, 0x000193, 0x000000, 0x000193 },
{ 0x000261, 0x00A7AC, 0x000000, 0x00A7AC },
{ 0x000263, 0x000194, 0x000000, 0x000194 },
{ 0x000265, 0x00A78D, 0x000000, 0x00A78D },
{ 0x000266, 0x00A7AA, 0x000000, 0x00A7AA },
{ 0x000268, 0x000197, 0x000000, 0x000197 },
{ 0x000269, 0x000196, 0x000000, 0x000196 },
{ 0x00026B, 0x002C62, 0x000000, 0x002C62 },
{ 0x00026C, 0x00A7AD, 0x000000, 0x00A7AD },
{ 0x00026F, 0x00019C, 0x000000, 0x00019C },
{ 0x000271, 0x002C6E, 0x000000, 0x002C6E },
{ 0x000272, 0x00019D, 0x000000, 0x00019D },
{ 0x000275, 0x00019F, 0x000000, 0x00019F },
{ 0x00027D, 0x002C64, 0x000000, 0x002C64 },
{ 0x000280, 0x0001A6, 0x000000, 0x0001A6 },
{ 0x000283, 0x0001A9, 0x000000, 0x0001A9 },
{ 0x000287, 0x00A7B1, 0x000000, 0x00A7B1 },
{ 0x000288, 0x0001AE, 0x000000, 0x0001AE },
{ 0x000289, 0x000244, 0x000000, 0x000244 },
{ 0x00028A, 0x0001B1, 0x000000, 0x0001B1 },
{ 0x00028B, 0x0001B2, 0x000000, 0x0001B2 },
{ 0x00028C, 0x000245, 0x000000, 0x000245 },
{ 0x000292, 0x0001B7, 0x000000, 0x0001B7 },
{ 0x00029E, 0x00A7B0, 0x000000, 0x00A7B0 },
{ 0x000345, 0x000399, 0x000000, 0x000399 },
{ 0x000370, 0x000000, 0x000371, 0x000000 },
{ 0x000371, 0x000370, 0x000000, 0x000370 },
Expand All @@ -507,6 +512,7 @@ static const case_conversion_entry case_conversion_data[] =
{ 0x00037B, 0x0003FD, 0x000000, 0x0003FD },
{ 0x00037C, 0x0003FE, 0x000000, 0x0003FE },
{ 0x00037D, 0x0003FF, 0x000000, 0x0003FF },
{ 0x00037F, 0x000000, 0x0003F3, 0x000000 },
{ 0x000386, 0x000000, 0x0003AC, 0x000000 },
{ 0x000388, 0x000000, 0x0003AD, 0x000000 },
{ 0x000389, 0x000000, 0x0003AE, 0x000000 },
Expand Down Expand Up @@ -607,6 +613,7 @@ static const case_conversion_entry case_conversion_data[] =
{ 0x0003F0, 0x00039A, 0x000000, 0x00039A },
{ 0x0003F1, 0x0003A1, 0x000000, 0x0003A1 },
{ 0x0003F2, 0x0003F9, 0x000000, 0x0003F9 },
{ 0x0003F3, 0x00037F, 0x000000, 0x00037F },
{ 0x0003F4, 0x000000, 0x0003B8, 0x000000 },
{ 0x0003F5, 0x000395, 0x000000, 0x000395 },
{ 0x0003F7, 0x000000, 0x0003F8, 0x000000 },
Expand Down Expand Up @@ -905,6 +912,14 @@ static const case_conversion_entry case_conversion_data[] =
{ 0x000525, 0x000524, 0x000000, 0x000524 },
{ 0x000526, 0x000000, 0x000527, 0x000000 },
{ 0x000527, 0x000526, 0x000000, 0x000526 },
{ 0x000528, 0x000000, 0x000529, 0x000000 },
{ 0x000529, 0x000528, 0x000000, 0x000528 },
{ 0x00052A, 0x000000, 0x00052B, 0x000000 },
{ 0x00052B, 0x00052A, 0x000000, 0x00052A },
{ 0x00052C, 0x000000, 0x00052D, 0x000000 },
{ 0x00052D, 0x00052C, 0x000000, 0x00052C },
{ 0x00052E, 0x000000, 0x00052F, 0x000000 },
{ 0x00052F, 0x00052E, 0x000000, 0x00052E },
{ 0x000531, 0x000000, 0x000561, 0x000000 },
{ 0x000532, 0x000000, 0x000562, 0x000000 },
{ 0x000533, 0x000000, 0x000563, 0x000000 },
Expand Down Expand Up @@ -1888,6 +1903,10 @@ static const case_conversion_entry case_conversion_data[] =
{ 0x00A695, 0x00A694, 0x000000, 0x00A694 },
{ 0x00A696, 0x000000, 0x00A697, 0x000000 },
{ 0x00A697, 0x00A696, 0x000000, 0x00A696 },
{ 0x00A698, 0x000000, 0x00A699, 0x000000 },
{ 0x00A699, 0x00A698, 0x000000, 0x00A698 },
{ 0x00A69A, 0x000000, 0x00A69B, 0x000000 },
{ 0x00A69B, 0x00A69A, 0x000000, 0x00A69A },
{ 0x00A722, 0x000000, 0x00A723, 0x000000 },
{ 0x00A723, 0x00A722, 0x000000, 0x00A722 },
{ 0x00A724, 0x000000, 0x00A725, 0x000000 },
Expand Down Expand Up @@ -1986,6 +2005,16 @@ static const case_conversion_entry case_conversion_data[] =
{ 0x00A791, 0x00A790, 0x000000, 0x00A790 },
{ 0x00A792, 0x000000, 0x00A793, 0x000000 },
{ 0x00A793, 0x00A792, 0x000000, 0x00A792 },
{ 0x00A796, 0x000000, 0x00A797, 0x000000 },
{ 0x00A797, 0x00A796, 0x000000, 0x00A796 },
{ 0x00A798, 0x000000, 0x00A799, 0x000000 },
{ 0x00A799, 0x00A798, 0x000000, 0x00A798 },
{ 0x00A79A, 0x000000, 0x00A79B, 0x000000 },
{ 0x00A79B, 0x00A79A, 0x000000, 0x00A79A },
{ 0x00A79C, 0x000000, 0x00A79D, 0x000000 },
{ 0x00A79D, 0x00A79C, 0x000000, 0x00A79C },
{ 0x00A79E, 0x000000, 0x00A79F, 0x000000 },
{ 0x00A79F, 0x00A79E, 0x000000, 0x00A79E },
{ 0x00A7A0, 0x000000, 0x00A7A1, 0x000000 },
{ 0x00A7A1, 0x00A7A0, 0x000000, 0x00A7A0 },
{ 0x00A7A2, 0x000000, 0x00A7A3, 0x000000 },
Expand All @@ -1997,6 +2026,11 @@ static const case_conversion_entry case_conversion_data[] =
{ 0x00A7A8, 0x000000, 0x00A7A9, 0x000000 },
{ 0x00A7A9, 0x00A7A8, 0x000000, 0x00A7A8 },
{ 0x00A7AA, 0x000000, 0x000266, 0x000000 },
{ 0x00A7AB, 0x000000, 0x00025C, 0x000000 },
{ 0x00A7AC, 0x000000, 0x000261, 0x000000 },
{ 0x00A7AD, 0x000000, 0x00026C, 0x000000 },
{ 0x00A7B0, 0x000000, 0x00029E, 0x000000 },
{ 0x00A7B1, 0x000000, 0x000287, 0x000000 },
{ 0x00FF21, 0x000000, 0x00FF41, 0x000000 },
{ 0x00FF22, 0x000000, 0x00FF42, 0x000000 },
{ 0x00FF23, 0x000000, 0x00FF43, 0x000000 },
Expand Down Expand Up @@ -2129,6 +2163,70 @@ static const case_conversion_entry case_conversion_data[] =
{ 0x01044D, 0x010425, 0x000000, 0x010425 },
{ 0x01044E, 0x010426, 0x000000, 0x010426 },
{ 0x01044F, 0x010427, 0x000000, 0x010427 },
{ 0x0118A0, 0x000000, 0x0118C0, 0x000000 },
{ 0x0118A1, 0x000000, 0x0118C1, 0x000000 },
{ 0x0118A2, 0x000000, 0x0118C2, 0x000000 },
{ 0x0118A3, 0x000000, 0x0118C3, 0x000000 },
{ 0x0118A4, 0x000000, 0x0118C4, 0x000000 },
{ 0x0118A5, 0x000000, 0x0118C5, 0x000000 },
{ 0x0118A6, 0x000000, 0x0118C6, 0x000000 },
{ 0x0118A7, 0x000000, 0x0118C7, 0x000000 },
{ 0x0118A8, 0x000000, 0x0118C8, 0x000000 },
{ 0x0118A9, 0x000000, 0x0118C9, 0x000000 },
{ 0x0118AA, 0x000000, 0x0118CA, 0x000000 },
{ 0x0118AB, 0x000000, 0x0118CB, 0x000000 },
{ 0x0118AC, 0x000000, 0x0118CC, 0x000000 },
{ 0x0118AD, 0x000000, 0x0118CD, 0x000000 },
{ 0x0118AE, 0x000000, 0x0118CE, 0x000000 },
{ 0x0118AF, 0x000000, 0x0118CF, 0x000000 },
{ 0x0118B0, 0x000000, 0x0118D0, 0x000000 },
{ 0x0118B1, 0x000000, 0x0118D1, 0x000000 },
{ 0x0118B2, 0x000000, 0x0118D2, 0x000000 },
{ 0x0118B3, 0x000000, 0x0118D3, 0x000000 },
{ 0x0118B4, 0x000000, 0x0118D4, 0x000000 },
{ 0x0118B5, 0x000000, 0x0118D5, 0x000000 },
{ 0x0118B6, 0x000000, 0x0118D6, 0x000000 },
{ 0x0118B7, 0x000000, 0x0118D7, 0x000000 },
{ 0x0118B8, 0x000000, 0x0118D8, 0x000000 },
{ 0x0118B9, 0x000000, 0x0118D9, 0x000000 },
{ 0x0118BA, 0x000000, 0x0118DA, 0x000000 },
{ 0x0118BB, 0x000000, 0x0118DB, 0x000000 },
{ 0x0118BC, 0x000000, 0x0118DC, 0x000000 },
{ 0x0118BD, 0x000000, 0x0118DD, 0x000000 },
{ 0x0118BE, 0x000000, 0x0118DE, 0x000000 },
{ 0x0118BF, 0x000000, 0x0118DF, 0x000000 },
{ 0x0118C0, 0x0118A0, 0x000000, 0x0118A0 },
{ 0x0118C1, 0x0118A1, 0x000000, 0x0118A1 },
{ 0x0118C2, 0x0118A2, 0x000000, 0x0118A2 },
{ 0x0118C3, 0x0118A3, 0x000000, 0x0118A3 },
{ 0x0118C4, 0x0118A4, 0x000000, 0x0118A4 },
{ 0x0118C5, 0x0118A5, 0x000000, 0x0118A5 },
{ 0x0118C6, 0x0118A6, 0x000000, 0x0118A6 },
{ 0x0118C7, 0x0118A7, 0x000000, 0x0118A7 },
{ 0x0118C8, 0x0118A8, 0x000000, 0x0118A8 },
{ 0x0118C9, 0x0118A9, 0x000000, 0x0118A9 },
{ 0x0118CA, 0x0118AA, 0x000000, 0x0118AA },
{ 0x0118CB, 0x0118AB, 0x000000, 0x0118AB },
{ 0x0118CC, 0x0118AC, 0x000000, 0x0118AC },
{ 0x0118CD, 0x0118AD, 0x000000, 0x0118AD },
{ 0x0118CE, 0x0118AE, 0x000000, 0x0118AE },
{ 0x0118CF, 0x0118AF, 0x000000, 0x0118AF },
{ 0x0118D0, 0x0118B0, 0x000000, 0x0118B0 },
{ 0x0118D1, 0x0118B1, 0x000000, 0x0118B1 },
{ 0x0118D2, 0x0118B2, 0x000000, 0x0118B2 },
{ 0x0118D3, 0x0118B3, 0x000000, 0x0118B3 },
{ 0x0118D4, 0x0118B4, 0x000000, 0x0118B4 },
{ 0x0118D5, 0x0118B5, 0x000000, 0x0118B5 },
{ 0x0118D6, 0x0118B6, 0x000000, 0x0118B6 },
{ 0x0118D7, 0x0118B7, 0x000000, 0x0118B7 },
{ 0x0118D8, 0x0118B8, 0x000000, 0x0118B8 },
{ 0x0118D9, 0x0118B9, 0x000000, 0x0118B9 },
{ 0x0118DA, 0x0118BA, 0x000000, 0x0118BA },
{ 0x0118DB, 0x0118BB, 0x000000, 0x0118BB },
{ 0x0118DC, 0x0118BC, 0x000000, 0x0118BC },
{ 0x0118DD, 0x0118BD, 0x000000, 0x0118BD },
{ 0x0118DE, 0x0118BE, 0x000000, 0x0118BE },
{ 0x0118DF, 0x0118BF, 0x000000, 0x0118BF },
};

ucd::codepoint_t ucd::toupper(codepoint_t c)
Expand Down
Loading

0 comments on commit b757f60

Please sign in to comment.