This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

scriptName.js

By: dda on May 19th, 2012  |  syntax: JavaScript  |  size: 28.02 KB  |  views: 158  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.     function scriptName(x) {
  2.       var f=x.charCodeAt(0);
  3.       if(f>=0x41 && f<=0x5A) return "Latin";
  4.       if(f>=0x61 && f<=0x7A) return "Latin";
  5.       if(f==0xAA) return "Latin";
  6.       if(f==0xBA) return "Latin";
  7.       if(f>=0xC0 && f<=0xD6) return "Latin";
  8.       if(f>=0xD8 && f<=0xF6) return "Latin";
  9.       if(f>=0xF8 && f<=0x2B8) return "Latin";
  10.       if(f>=0x2E0 && f<=0x2E4) return "Latin";
  11.       if(f>=0x1D00 && f<=0x1D25) return "Latin";
  12.       if(f>=0x1D2C && f<=0x1D5C) return "Latin";
  13.       if(f>=0x1D62 && f<=0x1D65) return "Latin";
  14.       if(f>=0x1D6B && f<=0x1D77) return "Latin";
  15.       if(f>=0x1D79 && f<=0x1DBE) return "Latin";
  16.       if(f>=0x1E00 && f<=0x1EFF) return "Latin";
  17.       if(f==0x2071) return "Latin";
  18.       if(f==0x207F) return "Latin";
  19.       if(f>=0x2090 && f<=0x2094) return "Latin";
  20.       if(f>=0x212A && f<=0x212B) return "Latin";
  21.       if(f==0x2132) return "Latin";
  22.       if(f==0x214E) return "Latin";
  23.       if(f>=0x2160 && f<=0x2188) return "Latin";
  24.       if(f>=0x2C60 && f<=0x2C6F) return "Latin";
  25.       if(f>=0x2C71 && f<=0x2C7D) return "Latin";
  26.       if(f>=0xA722 && f<=0xA787) return "Latin";
  27.       if(f>=0xA78B && f<=0xA78C) return "Latin";
  28.       if(f>=0xA7FB && f<=0xA7FF) return "Latin";
  29.       if(f>=0xFB00 && f<=0xFB06) return "Latin";
  30.       if(f>=0xFF21 && f<=0xFF3A) return "Latin";
  31.       if(f>=0xFF41 && f<=0xFF5A) return "Latin";
  32.       if(f>=0x0 && f<=0x40) return "Common";
  33.       if(f>=0x5B && f<=0x60) return "Common";
  34.       if(f>=0x7B && f<=0xA9) return "Common";
  35.       if(f>=0xAB && f<=0xB9) return "Common";
  36.       if(f>=0xBB && f<=0xBF) return "Common";
  37.       if(f==0xD7) return "Common";
  38.       if(f==0xF7) return "Common";
  39.       if(f>=0x2B9 && f<=0x2DF) return "Common";
  40.       if(f>=0x2E5 && f<=0x2FF) return "Common";
  41.       if(f==0x374) return "Common";
  42.       if(f==0x37E) return "Common";
  43.       if(f==0x385) return "Common";
  44.       if(f==0x387) return "Common";
  45.       if(f==0x589) return "Common";
  46.       if(f>=0x964 && f<=0x965) return "Common";
  47.       if(f==0x970) return "Common";
  48.       if(f>=0xCF1 && f<=0xCF2) return "Common";
  49.       if(f==0xE3F) return "Common";
  50.       if(f==0x10FB) return "Common";
  51.       if(f>=0x16EB && f<=0x16ED) return "Common";
  52.       if(f>=0x1735 && f<=0x1736) return "Common";
  53.       if(f>=0x1802 && f<=0x1803) return "Common";
  54.       if(f==0x1805) return "Common";
  55.       if(f>=0x2000 && f<=0x200B) return "Common";
  56.       if(f>=0x200E && f<=0x2064) return "Common";
  57.       if(f>=0x206A && f<=0x2070) return "Common";
  58.       if(f>=0x2074 && f<=0x207E) return "Common";
  59.       if(f>=0x2080 && f<=0x208E) return "Common";
  60.       if(f>=0x20A0 && f<=0x20B5) return "Common";
  61.       if(f>=0x2100 && f<=0x2125) return "Common";
  62.       if(f>=0x2127 && f<=0x2129) return "Common";
  63.       if(f>=0x212C && f<=0x2131) return "Common";
  64.       if(f>=0x2133 && f<=0x214D) return "Common";
  65.       if(f==0x214F) return "Common";
  66.       if(f>=0x2153 && f<=0x215F) return "Common";
  67.       if(f>=0x2190 && f<=0x23E7) return "Common";
  68.       if(f>=0x2400 && f<=0x2426) return "Common";
  69.       if(f>=0x2440 && f<=0x244A) return "Common";
  70.       if(f>=0x2460 && f<=0x269D) return "Common";
  71.       if(f>=0x26A0 && f<=0x26BC) return "Common";
  72.       if(f>=0x26C0 && f<=0x26C3) return "Common";
  73.       if(f>=0x2701 && f<=0x2704) return "Common";
  74.       if(f>=0x2706 && f<=0x2709) return "Common";
  75.       if(f>=0x270C && f<=0x2727) return "Common";
  76.       if(f>=0x2729 && f<=0x274B) return "Common";
  77.       if(f==0x274D) return "Common";
  78.       if(f>=0x274F && f<=0x2752) return "Common";
  79.       if(f==0x2756) return "Common";
  80.       if(f>=0x2758 && f<=0x275E) return "Common";
  81.       if(f>=0x2761 && f<=0x2794) return "Common";
  82.       if(f>=0x2798 && f<=0x27AF) return "Common";
  83.       if(f>=0x27B1 && f<=0x27BE) return "Common";
  84.       if(f>=0x27C0 && f<=0x27CA) return "Common";
  85.       if(f==0x27CC) return "Common";
  86.       if(f>=0x27D0 && f<=0x27FF) return "Common";
  87.       if(f>=0x2900 && f<=0x2B4C) return "Common";
  88.       if(f>=0x2B50 && f<=0x2B54) return "Common";
  89.       if(f>=0x2E00 && f<=0x2E30) return "Common";
  90.       if(f>=0x2FF0 && f<=0x2FFB) return "Common";
  91.       if(f>=0x3000 && f<=0x3004) return "Common";
  92.       if(f==0x3006) return "Common";
  93.       if(f>=0x3008 && f<=0x3020) return "Common";
  94.       if(f>=0x3030 && f<=0x3037) return "Common";
  95.       if(f>=0x303C && f<=0x303F) return "Common";
  96.       if(f>=0x309B && f<=0x309C) return "Common";
  97.       if(f==0x30A0) return "Common";
  98.       if(f>=0x30FB && f<=0x30FC) return "Common";
  99.       if(f>=0x3190 && f<=0x319F) return "Common";
  100.       if(f>=0x31C0 && f<=0x31E3) return "Common";
  101.       if(f>=0x3220 && f<=0x3243) return "Common";
  102.       if(f>=0x3250 && f<=0x325F) return "Common";
  103.       if(f>=0x327F && f<=0x32CF) return "Common";
  104.       if(f>=0x3358 && f<=0x33FF) return "Common";
  105.       if(f>=0x4DC0 && f<=0x4DFF) return "Common";
  106.       if(f>=0xA700 && f<=0xA721) return "Common";
  107.       if(f>=0xA788 && f<=0xA78A) return "Common";
  108.       if(f>=0xFD3E && f<=0xFD3F) return "Common";
  109.       if(f==0xFDFD) return "Common";
  110.       if(f>=0xFE10 && f<=0xFE19) return "Common";
  111.       if(f>=0xFE30 && f<=0xFE52) return "Common";
  112.       if(f>=0xFE54 && f<=0xFE66) return "Common";
  113.       if(f>=0xFE68 && f<=0xFE6B) return "Common";
  114.       if(f==0xFEFF) return "Common";
  115.       if(f>=0xFF01 && f<=0xFF20) return "Common";
  116.       if(f>=0xFF3B && f<=0xFF40) return "Common";
  117.       if(f>=0xFF5B && f<=0xFF65) return "Common";
  118.       if(f==0xFF70) return "Common";
  119.       if(f>=0xFF9E && f<=0xFF9F) return "Common";
  120.       if(f>=0xFFE0 && f<=0xFFE6) return "Common";
  121.       if(f>=0xFFE8 && f<=0xFFEE) return "Common";
  122.       if(f>=0xFFF9 && f<=0xFFFD) return "Common";
  123.       if(f>=0x10100 && f<=0x10102) return "Common";
  124.       if(f>=0x10107 && f<=0x10133) return "Common";
  125.       if(f>=0x10137 && f<=0x1013F) return "Common";
  126.       if(f>=0x10190 && f<=0x1019B) return "Common";
  127.       if(f>=0x101D0 && f<=0x101FC) return "Common";
  128.       if(f>=0x1D000 && f<=0x1D0F5) return "Common";
  129.       if(f>=0x1D100 && f<=0x1D126) return "Common";
  130.       if(f>=0x1D129 && f<=0x1D166) return "Common";
  131.       if(f>=0x1D16A && f<=0x1D17A) return "Common";
  132.       if(f>=0x1D183 && f<=0x1D184) return "Common";
  133.       if(f>=0x1D18C && f<=0x1D1A9) return "Common";
  134.       if(f>=0x1D1AE && f<=0x1D1DD) return "Common";
  135.       if(f>=0x1D300 && f<=0x1D356) return "Common";
  136.       if(f>=0x1D360 && f<=0x1D371) return "Common";
  137.       if(f>=0x1D400 && f<=0x1D454) return "Common";
  138.       if(f>=0x1D456 && f<=0x1D49C) return "Common";
  139.       if(f>=0x1D49E && f<=0x1D49F) return "Common";
  140.       if(f==0x1D4A2) return "Common";
  141.       if(f>=0x1D4A5 && f<=0x1D4A6) return "Common";
  142.       if(f>=0x1D4A9 && f<=0x1D4AC) return "Common";
  143.       if(f>=0x1D4AE && f<=0x1D4B9) return "Common";
  144.       if(f==0x1D4BB) return "Common";
  145.       if(f>=0x1D4BD && f<=0x1D4C3) return "Common";
  146.       if(f>=0x1D4C5 && f<=0x1D505) return "Common";
  147.       if(f>=0x1D507 && f<=0x1D50A) return "Common";
  148.       if(f>=0x1D50D && f<=0x1D514) return "Common";
  149.       if(f>=0x1D516 && f<=0x1D51C) return "Common";
  150.       if(f>=0x1D51E && f<=0x1D539) return "Common";
  151.       if(f>=0x1D53B && f<=0x1D53E) return "Common";
  152.       if(f>=0x1D540 && f<=0x1D544) return "Common";
  153.       if(f==0x1D546) return "Common";
  154.       if(f>=0x1D54A && f<=0x1D550) return "Common";
  155.       if(f>=0x1D552 && f<=0x1D6A5) return "Common";
  156.       if(f>=0x1D6A8 && f<=0x1D7CB) return "Common";
  157.       if(f>=0x1D7CE && f<=0x1D7FF) return "Common";
  158.       if(f>=0x1F000 && f<=0x1F02B) return "Common";
  159.       if(f>=0x1F030 && f<=0x1F093) return "Common";
  160.       if(f==0xE0001) return "Common";
  161.       if(f>=0xE0020 && f<=0xE007F) return "Common";
  162.       if(f>=0x370 && f<=0x373) return "Greek";
  163.       if(f>=0x375 && f<=0x377) return "Greek";
  164.       if(f>=0x37A && f<=0x37D) return "Greek";
  165.       if(f==0x384) return "Greek";
  166.       if(f==0x386) return "Greek";
  167.       if(f>=0x388 && f<=0x38A) return "Greek";
  168.       if(f==0x38C) return "Greek";
  169.       if(f>=0x38E && f<=0x3A1) return "Greek";
  170.       if(f>=0x3A3 && f<=0x3E1) return "Greek";
  171.       if(f>=0x3F0 && f<=0x3FF) return "Greek";
  172.       if(f>=0x1D26 && f<=0x1D2A) return "Greek";
  173.       if(f>=0x1D5D && f<=0x1D61) return "Greek";
  174.       if(f>=0x1D66 && f<=0x1D6A) return "Greek";
  175.       if(f==0x1DBF) return "Greek";
  176.       if(f>=0x1F00 && f<=0x1F15) return "Greek";
  177.       if(f>=0x1F18 && f<=0x1F1D) return "Greek";
  178.       if(f>=0x1F20 && f<=0x1F45) return "Greek";
  179.       if(f>=0x1F48 && f<=0x1F4D) return "Greek";
  180.       if(f>=0x1F50 && f<=0x1F57) return "Greek";
  181.       if(f==0x1F59) return "Greek";
  182.       if(f==0x1F5B) return "Greek";
  183.       if(f==0x1F5D) return "Greek";
  184.       if(f>=0x1F5F && f<=0x1F7D) return "Greek";
  185.       if(f>=0x1F80 && f<=0x1FB4) return "Greek";
  186.       if(f>=0x1FB6 && f<=0x1FC4) return "Greek";
  187.       if(f>=0x1FC6 && f<=0x1FD3) return "Greek";
  188.       if(f>=0x1FD6 && f<=0x1FDB) return "Greek";
  189.       if(f>=0x1FDD && f<=0x1FEF) return "Greek";
  190.       if(f>=0x1FF2 && f<=0x1FF4) return "Greek";
  191.       if(f>=0x1FF6 && f<=0x1FFE) return "Greek";
  192.       if(f==0x2126) return "Greek";
  193.       if(f>=0x10140 && f<=0x1018A) return "Greek";
  194.       if(f>=0x1D200 && f<=0x1D245) return "Greek";
  195.       if(f>=0x400 && f<=0x523) return "Cyrillic";
  196.       if(f==0x1D2B) return "Cyrillic";
  197.       if(f==0x1D78) return "Cyrillic";
  198.       if(f>=0x2DE0 && f<=0x2DFF) return "Cyrillic";
  199.       if(f>=0xA640 && f<=0xA65F) return "Cyrillic";
  200.       if(f>=0xA662 && f<=0xA673) return "Cyrillic";
  201.       if(f>=0xA67C && f<=0xA697) return "Cyrillic";
  202.       if(f>=0x531 && f<=0x556) return "Armenian";
  203.       if(f>=0x559 && f<=0x55F) return "Armenian";
  204.       if(f>=0x561 && f<=0x587) return "Armenian";
  205.       if(f==0x58A) return "Armenian";
  206.       if(f>=0xFB13 && f<=0xFB17) return "Armenian";
  207.       if(f>=0x591 && f<=0x5C7) return "Hebrew";
  208.       if(f>=0x5D0 && f<=0x5EA) return "Hebrew";
  209.       if(f>=0x5F0 && f<=0x5F4) return "Hebrew";
  210.       if(f>=0xFB1D && f<=0xFB36) return "Hebrew";
  211.       if(f>=0xFB38 && f<=0xFB3C) return "Hebrew";
  212.       if(f==0xFB3E) return "Hebrew";
  213.       if(f>=0xFB40 && f<=0xFB41) return "Hebrew";
  214.       if(f>=0xFB43 && f<=0xFB44) return "Hebrew";
  215.       if(f>=0xFB46 && f<=0xFB4F) return "Hebrew";
  216.       if(f>=0x600 && f<=0x6FF) return "Arabic";
  217.       if(f>=0x750 && f<=0x77F) return "Arabic";
  218.       if(f>=0xFB50 && f<=0xFBB1) return "Arabic";
  219.       if(f>=0xFBD3 && f<=0xFD3D) return "Arabic";
  220.       if(f>=0xFD50 && f<=0xFD8F) return "Arabic";
  221.       if(f>=0xFD92 && f<=0xFDC7) return "Arabic";
  222.       if(f>=0xFDF0 && f<=0xFDFC) return "Arabic";
  223.       if(f>=0xFE70 && f<=0xFE74) return "Arabic";
  224.       if(f>=0xFE76 && f<=0xFEFC) return "Arabic";
  225.       if(f>=0x700 && f<=0x70D) return "Syriac";
  226.       if(f>=0x70F && f<=0x74A) return "Syriac";
  227.       if(f>=0x74D && f<=0x74F) return "Syriac";
  228.       if(f>=0x780 && f<=0x7B1) return "Thaana";
  229.       if(f>=0x901 && f<=0x939) return "Devanagari";
  230.       if(f>=0x93C && f<=0x94D) return "Devanagari";
  231.       if(f==0x950) return "Devanagari";
  232.       if(f>=0x953 && f<=0x954) return "Devanagari";
  233.       if(f>=0x958 && f<=0x963) return "Devanagari";
  234.       if(f>=0x966 && f<=0x96F) return "Devanagari";
  235.       if(f>=0x971 && f<=0x972) return "Devanagari";
  236.       if(f>=0x97B && f<=0x97F) return "Devanagari";
  237.       if(f>=0x981 && f<=0x983) return "Bengali";
  238.       if(f>=0x985 && f<=0x98C) return "Bengali";
  239.       if(f>=0x98F && f<=0x990) return "Bengali";
  240.       if(f>=0x993 && f<=0x9A8) return "Bengali";
  241.       if(f>=0x9AA && f<=0x9B0) return "Bengali";
  242.       if(f==0x9B2) return "Bengali";
  243.       if(f>=0x9B6 && f<=0x9B9) return "Bengali";
  244.       if(f>=0x9BC && f<=0x9C4) return "Bengali";
  245.       if(f>=0x9C7 && f<=0x9C8) return "Bengali";
  246.       if(f>=0x9CB && f<=0x9CE) return "Bengali";
  247.       if(f==0x9D7) return "Bengali";
  248.       if(f>=0x9DC && f<=0x9DD) return "Bengali";
  249.       if(f>=0x9DF && f<=0x9E3) return "Bengali";
  250.       if(f>=0x9E6 && f<=0x9FA) return "Bengali";
  251.       if(f>=0xA01 && f<=0xA03) return "Gurmukhi";
  252.       if(f>=0xA05 && f<=0xA0A) return "Gurmukhi";
  253.       if(f>=0xA0F && f<=0xA10) return "Gurmukhi";
  254.       if(f>=0xA13 && f<=0xA28) return "Gurmukhi";
  255.       if(f>=0xA2A && f<=0xA30) return "Gurmukhi";
  256.       if(f>=0xA32 && f<=0xA33) return "Gurmukhi";
  257.       if(f>=0xA35 && f<=0xA36) return "Gurmukhi";
  258.       if(f>=0xA38 && f<=0xA39) return "Gurmukhi";
  259.       if(f==0xA3C) return "Gurmukhi";
  260.       if(f>=0xA3E && f<=0xA42) return "Gurmukhi";
  261.       if(f>=0xA47 && f<=0xA48) return "Gurmukhi";
  262.       if(f>=0xA4B && f<=0xA4D) return "Gurmukhi";
  263.       if(f==0xA51) return "Gurmukhi";
  264.       if(f>=0xA59 && f<=0xA5C) return "Gurmukhi";
  265.       if(f==0xA5E) return "Gurmukhi";
  266.       if(f>=0xA66 && f<=0xA75) return "Gurmukhi";
  267.       if(f>=0xA81 && f<=0xA83) return "Gujarati";
  268.       if(f>=0xA85 && f<=0xA8D) return "Gujarati";
  269.       if(f>=0xA8F && f<=0xA91) return "Gujarati";
  270.       if(f>=0xA93 && f<=0xAA8) return "Gujarati";
  271.       if(f>=0xAAA && f<=0xAB0) return "Gujarati";
  272.       if(f>=0xAB2 && f<=0xAB3) return "Gujarati";
  273.       if(f>=0xAB5 && f<=0xAB9) return "Gujarati";
  274.       if(f>=0xABC && f<=0xAC5) return "Gujarati";
  275.       if(f>=0xAC7 && f<=0xAC9) return "Gujarati";
  276.       if(f>=0xACB && f<=0xACD) return "Gujarati";
  277.       if(f==0xAD0) return "Gujarati";
  278.       if(f>=0xAE0 && f<=0xAE3) return "Gujarati";
  279.       if(f>=0xAE6 && f<=0xAEF) return "Gujarati";
  280.       if(f==0xAF1) return "Gujarati";
  281.       if(f>=0xB01 && f<=0xB03) return "Oriya";
  282.       if(f>=0xB05 && f<=0xB0C) return "Oriya";
  283.       if(f>=0xB0F && f<=0xB10) return "Oriya";
  284.       if(f>=0xB13 && f<=0xB28) return "Oriya";
  285.       if(f>=0xB2A && f<=0xB30) return "Oriya";
  286.       if(f>=0xB32 && f<=0xB33) return "Oriya";
  287.       if(f>=0xB35 && f<=0xB39) return "Oriya";
  288.       if(f>=0xB3C && f<=0xB44) return "Oriya";
  289.       if(f>=0xB47 && f<=0xB48) return "Oriya";
  290.       if(f>=0xB4B && f<=0xB4D) return "Oriya";
  291.       if(f>=0xB56 && f<=0xB57) return "Oriya";
  292.       if(f>=0xB5C && f<=0xB5D) return "Oriya";
  293.       if(f>=0xB5F && f<=0xB63) return "Oriya";
  294.       if(f>=0xB66 && f<=0xB71) return "Oriya";
  295.       if(f>=0xB82 && f<=0xB83) return "Tamil";
  296.       if(f>=0xB85 && f<=0xB8A) return "Tamil";
  297.       if(f>=0xB8E && f<=0xB90) return "Tamil";
  298.       if(f>=0xB92 && f<=0xB95) return "Tamil";
  299.       if(f>=0xB99 && f<=0xB9A) return "Tamil";
  300.       if(f==0xB9C) return "Tamil";
  301.       if(f>=0xB9E && f<=0xB9F) return "Tamil";
  302.       if(f>=0xBA3 && f<=0xBA4) return "Tamil";
  303.       if(f>=0xBA8 && f<=0xBAA) return "Tamil";
  304.       if(f>=0xBAE && f<=0xBB9) return "Tamil";
  305.       if(f>=0xBBE && f<=0xBC2) return "Tamil";
  306.       if(f>=0xBC6 && f<=0xBC8) return "Tamil";
  307.       if(f>=0xBCA && f<=0xBCD) return "Tamil";
  308.       if(f==0xBD0) return "Tamil";
  309.       if(f==0xBD7) return "Tamil";
  310.       if(f>=0xBE6 && f<=0xBFA) return "Tamil";
  311.       if(f>=0xC01 && f<=0xC03) return "Telugu";
  312.       if(f>=0xC05 && f<=0xC0C) return "Telugu";
  313.       if(f>=0xC0E && f<=0xC10) return "Telugu";
  314.       if(f>=0xC12 && f<=0xC28) return "Telugu";
  315.       if(f>=0xC2A && f<=0xC33) return "Telugu";
  316.       if(f>=0xC35 && f<=0xC39) return "Telugu";
  317.       if(f>=0xC3D && f<=0xC44) return "Telugu";
  318.       if(f>=0xC46 && f<=0xC48) return "Telugu";
  319.       if(f>=0xC4A && f<=0xC4D) return "Telugu";
  320.       if(f>=0xC55 && f<=0xC56) return "Telugu";
  321.       if(f>=0xC58 && f<=0xC59) return "Telugu";
  322.       if(f>=0xC60 && f<=0xC63) return "Telugu";
  323.       if(f>=0xC66 && f<=0xC6F) return "Telugu";
  324.       if(f>=0xC78 && f<=0xC7F) return "Telugu";
  325.       if(f>=0xC82 && f<=0xC83) return "Kannada";
  326.       if(f>=0xC85 && f<=0xC8C) return "Kannada";
  327.       if(f>=0xC8E && f<=0xC90) return "Kannada";
  328.       if(f>=0xC92 && f<=0xCA8) return "Kannada";
  329.       if(f>=0xCAA && f<=0xCB3) return "Kannada";
  330.       if(f>=0xCB5 && f<=0xCB9) return "Kannada";
  331.       if(f>=0xCBC && f<=0xCC4) return "Kannada";
  332.       if(f>=0xCC6 && f<=0xCC8) return "Kannada";
  333.       if(f>=0xCCA && f<=0xCCD) return "Kannada";
  334.       if(f>=0xCD5 && f<=0xCD6) return "Kannada";
  335.       if(f==0xCDE) return "Kannada";
  336.       if(f>=0xCE0 && f<=0xCE3) return "Kannada";
  337.       if(f>=0xCE6 && f<=0xCEF) return "Kannada";
  338.       if(f>=0xD02 && f<=0xD03) return "Malayalam";
  339.       if(f>=0xD05 && f<=0xD0C) return "Malayalam";
  340.       if(f>=0xD0E && f<=0xD10) return "Malayalam";
  341.       if(f>=0xD12 && f<=0xD28) return "Malayalam";
  342.       if(f>=0xD2A && f<=0xD39) return "Malayalam";
  343.       if(f>=0xD3D && f<=0xD44) return "Malayalam";
  344.       if(f>=0xD46 && f<=0xD48) return "Malayalam";
  345.       if(f>=0xD4A && f<=0xD4D) return "Malayalam";
  346.       if(f==0xD57) return "Malayalam";
  347.       if(f>=0xD60 && f<=0xD63) return "Malayalam";
  348.       if(f>=0xD66 && f<=0xD75) return "Malayalam";
  349.       if(f>=0xD79 && f<=0xD7F) return "Malayalam";
  350.       if(f>=0xD82 && f<=0xD83) return "Sinhala";
  351.       if(f>=0xD85 && f<=0xD96) return "Sinhala";
  352.       if(f>=0xD9A && f<=0xDB1) return "Sinhala";
  353.       if(f>=0xDB3 && f<=0xDBB) return "Sinhala";
  354.       if(f==0xDBD) return "Sinhala";
  355.       if(f>=0xDC0 && f<=0xDC6) return "Sinhala";
  356.       if(f==0xDCA) return "Sinhala";
  357.       if(f>=0xDCF && f<=0xDD4) return "Sinhala";
  358.       if(f==0xDD6) return "Sinhala";
  359.       if(f>=0xDD8 && f<=0xDDF) return "Sinhala";
  360.       if(f>=0xDF2 && f<=0xDF4) return "Sinhala";
  361.       if(f>=0xE01 && f<=0xE3A) return "Thai";
  362.       if(f>=0xE40 && f<=0xE5B) return "Thai";
  363.       if(f>=0xE81 && f<=0xE82) return "Lao";
  364.       if(f==0xE84) return "Lao";
  365.       if(f>=0xE87 && f<=0xE88) return "Lao";
  366.       if(f==0xE8A) return "Lao";
  367.       if(f==0xE8D) return "Lao";
  368.       if(f>=0xE94 && f<=0xE97) return "Lao";
  369.       if(f>=0xE99 && f<=0xE9F) return "Lao";
  370.       if(f>=0xEA1 && f<=0xEA3) return "Lao";
  371.       if(f==0xEA5) return "Lao";
  372.       if(f==0xEA7) return "Lao";
  373.       if(f>=0xEAA && f<=0xEAB) return "Lao";
  374.       if(f>=0xEAD && f<=0xEB9) return "Lao";
  375.       if(f>=0xEBB && f<=0xEBD) return "Lao";
  376.       if(f>=0xEC0 && f<=0xEC4) return "Lao";
  377.       if(f==0xEC6) return "Lao";
  378.       if(f>=0xEC8 && f<=0xECD) return "Lao";
  379.       if(f>=0xED0 && f<=0xED9) return "Lao";
  380.       if(f>=0xEDC && f<=0xEDD) return "Lao";
  381.       if(f>=0xF00 && f<=0xF47) return "Tibetan";
  382.       if(f>=0xF49 && f<=0xF6C) return "Tibetan";
  383.       if(f>=0xF71 && f<=0xF8B) return "Tibetan";
  384.       if(f>=0xF90 && f<=0xF97) return "Tibetan";
  385.       if(f>=0xF99 && f<=0xFBC) return "Tibetan";
  386.       if(f>=0xFBE && f<=0xFCC) return "Tibetan";
  387.       if(f>=0xFCE && f<=0xFD4) return "Tibetan";
  388.       if(f>=0x1000 && f<=0x1099) return "Myanmar";
  389.       if(f>=0x109E && f<=0x109F) return "Myanmar";
  390.       if(f>=0x10A0 && f<=0x10C5) return "Georgian";
  391.       if(f>=0x10D0 && f<=0x10FA) return "Georgian";
  392.       if(f==0x10FC) return "Georgian";
  393.       if(f>=0x2D00 && f<=0x2D25) return "Georgian";
  394.       if(f>=0x1100 && f<=0x1159) return "Hangul";
  395.       if(f>=0x115F && f<=0x11A2) return "Hangul";
  396.       if(f>=0x11A8 && f<=0x11F9) return "Hangul";
  397.       if(f>=0x3131 && f<=0x318E) return "Hangul";
  398.       if(f>=0x3200 && f<=0x321E) return "Hangul";
  399.       if(f>=0x3260 && f<=0x327E) return "Hangul";
  400.       if(f>=0xAC00 && f<=0xD7A3) return "Hangul";
  401.       if(f>=0xFFA0 && f<=0xFFBE) return "Hangul";
  402.       if(f>=0xFFC2 && f<=0xFFC7) return "Hangul";
  403.       if(f>=0xFFCA && f<=0xFFCF) return "Hangul";
  404.       if(f>=0xFFD2 && f<=0xFFD7) return "Hangul";
  405.       if(f>=0xFFDA && f<=0xFFDC) return "Hangul";
  406.       if(f>=0x1200 && f<=0x1248) return "Ethiopic";
  407.       if(f>=0x124A && f<=0x124D) return "Ethiopic";
  408.       if(f>=0x1250 && f<=0x1256) return "Ethiopic";
  409.       if(f==0x1258) return "Ethiopic";
  410.       if(f>=0x125A && f<=0x125D) return "Ethiopic";
  411.       if(f>=0x1260 && f<=0x1288) return "Ethiopic";
  412.       if(f>=0x128A && f<=0x128D) return "Ethiopic";
  413.       if(f>=0x1290 && f<=0x12B0) return "Ethiopic";
  414.       if(f>=0x12B2 && f<=0x12B5) return "Ethiopic";
  415.       if(f>=0x12B8 && f<=0x12BE) return "Ethiopic";
  416.       if(f==0x12C0) return "Ethiopic";
  417.       if(f>=0x12C2 && f<=0x12C5) return "Ethiopic";
  418.       if(f>=0x12C8 && f<=0x12D6) return "Ethiopic";
  419.       if(f>=0x12D8 && f<=0x1310) return "Ethiopic";
  420.       if(f>=0x1312 && f<=0x1315) return "Ethiopic";
  421.       if(f>=0x1318 && f<=0x135A) return "Ethiopic";
  422.       if(f>=0x135F && f<=0x137C) return "Ethiopic";
  423.       if(f>=0x1380 && f<=0x1399) return "Ethiopic";
  424.       if(f>=0x2D80 && f<=0x2D96) return "Ethiopic";
  425.       if(f>=0x2DA0 && f<=0x2DA6) return "Ethiopic";
  426.       if(f>=0x2DA8 && f<=0x2DAE) return "Ethiopic";
  427.       if(f>=0x2DB0 && f<=0x2DB6) return "Ethiopic";
  428.       if(f>=0x2DB8 && f<=0x2DBE) return "Ethiopic";
  429.       if(f>=0x2DC0 && f<=0x2DC6) return "Ethiopic";
  430.       if(f>=0x2DC8 && f<=0x2DCE) return "Ethiopic";
  431.       if(f>=0x2DD0 && f<=0x2DD6) return "Ethiopic";
  432.       if(f>=0x2DD8 && f<=0x2DDE) return "Ethiopic";
  433.       if(f>=0x13A0 && f<=0x13F4) return "Cherokee";
  434.       if(f>=0x1401 && f<=0x1676) return "Canadian_Aboriginal";
  435.       if(f>=0x1680 && f<=0x169C) return "Ogham";
  436.       if(f>=0x16A0 && f<=0x16EA) return "Runic";
  437.       if(f>=0x16EE && f<=0x16F0) return "Runic";
  438.       if(f>=0x1780 && f<=0x17DD) return "Khmer";
  439.       if(f>=0x17E0 && f<=0x17E9) return "Khmer";
  440.       if(f>=0x17F0 && f<=0x17F9) return "Khmer";
  441.       if(f>=0x19E0 && f<=0x19FF) return "Khmer";
  442.       if(f>=0x1800 && f<=0x1801) return "Mongolian";
  443.       if(f==0x1804) return "Mongolian";
  444.       if(f>=0x1806 && f<=0x180E) return "Mongolian";
  445.       if(f>=0x1810 && f<=0x1819) return "Mongolian";
  446.       if(f>=0x1820 && f<=0x1877) return "Mongolian";
  447.       if(f>=0x1880 && f<=0x18AA) return "Mongolian";
  448.       if(f>=0x3041 && f<=0x3096) return "Hiragana";
  449.       if(f>=0x309D && f<=0x309F) return "Hiragana";
  450.       if(f>=0x30A1 && f<=0x30FA) return "Katakana";
  451.       if(f>=0x30FD && f<=0x30FF) return "Katakana";
  452.       if(f>=0x31F0 && f<=0x31FF) return "Katakana";
  453.       if(f>=0x32D0 && f<=0x32FE) return "Katakana";
  454.       if(f>=0x3300 && f<=0x3357) return "Katakana";
  455.       if(f>=0xFF66 && f<=0xFF6F) return "Katakana";
  456.       if(f>=0xFF71 && f<=0xFF9D) return "Katakana";
  457.       if(f>=0x3105 && f<=0x312D) return "Bopomofo";
  458.       if(f>=0x31A0 && f<=0x31B7) return "Bopomofo";
  459.       if(f>=0x2E80 && f<=0x2E99) return "Han";
  460.       if(f>=0x2E9B && f<=0x2EF3) return "Han";
  461.       if(f>=0x2F00 && f<=0x2FD5) return "Han";
  462.       if(f==0x3005) return "Han";
  463.       if(f==0x3007) return "Han";
  464.       if(f>=0x3021 && f<=0x3029) return "Han";
  465.       if(f>=0x3038 && f<=0x303B) return "Han";
  466.       if(f>=0x3400 && f<=0x4DB5) return "Han";
  467.       if(f>=0x4E00 && f<=0x9FC3) return "Han";
  468.       if(f>=0xF900 && f<=0xFA2D) return "Han";
  469.       if(f>=0xFA30 && f<=0xFA6A) return "Han";
  470.       if(f>=0xFA70 && f<=0xFAD9) return "Han";
  471.       if(f>=0x20000 && f<=0x2A6D6) return "Han";
  472.       if(f>=0x2F800 && f<=0x2FA1D) return "Han";
  473.       if(f>=0xA000 && f<=0xA48C) return "Yi";
  474.       if(f>=0xA490 && f<=0xA4C6) return "Yi";
  475.       if(f>=0x10300 && f<=0x1031E) return "Old_Italic";
  476.       if(f>=0x10320 && f<=0x10323) return "Old_Italic";
  477.       if(f>=0x10330 && f<=0x1034A) return "Gothic";
  478.       if(f>=0x10400 && f<=0x1044F) return "Deseret";
  479.       if(f>=0x300 && f<=0x36F) return "Inherited";
  480.       if(f>=0x64B && f<=0x655) return "Inherited";
  481.       if(f==0x670) return "Inherited";
  482.       if(f>=0x951 && f<=0x952) return "Inherited";
  483.       if(f>=0x1DC0 && f<=0x1DE6) return "Inherited";
  484.       if(f>=0x1DFE && f<=0x1DFF) return "Inherited";
  485.       if(f>=0x200C && f<=0x200D) return "Inherited";
  486.       if(f>=0x20D0 && f<=0x20F0) return "Inherited";
  487.       if(f>=0x302A && f<=0x302F) return "Inherited";
  488.       if(f>=0x3099 && f<=0x309A) return "Inherited";
  489.       if(f>=0xFE00 && f<=0xFE0F) return "Inherited";
  490.       if(f>=0xFE20 && f<=0xFE26) return "Inherited";
  491.       if(f==0x101FD) return "Inherited";
  492.       if(f>=0x1D167 && f<=0x1D169) return "Inherited";
  493.       if(f>=0x1D17B && f<=0x1D182) return "Inherited";
  494.       if(f>=0x1D185 && f<=0x1D18B) return "Inherited";
  495.       if(f>=0x1D1AA && f<=0x1D1AD) return "Inherited";
  496.       if(f>=0xE0100 && f<=0xE01EF) return "Inherited";
  497.       if(f>=0x1700 && f<=0x170C) return "Tagalog";
  498.       if(f>=0x170E && f<=0x1714) return "Tagalog";
  499.       if(f>=0x1720 && f<=0x1734) return "Hanunoo";
  500.       if(f>=0x1740 && f<=0x1753) return "Buhid";
  501.       if(f>=0x1760 && f<=0x176C) return "Tagbanwa";
  502.       if(f>=0x176E && f<=0x1770) return "Tagbanwa";
  503.       if(f>=0x1772 && f<=0x1773) return "Tagbanwa";
  504.       if(f>=0x1900 && f<=0x191C) return "Limbu";
  505.       if(f>=0x1920 && f<=0x192B) return "Limbu";
  506.       if(f>=0x1930 && f<=0x193B) return "Limbu";
  507.       if(f==0x1940) return "Limbu";
  508.       if(f>=0x1944 && f<=0x194F) return "Limbu";
  509.       if(f>=0x1950 && f<=0x196D) return "Tai_Le";
  510.       if(f>=0x1970 && f<=0x1974) return "Tai_Le";
  511.       if(f>=0x10000 && f<=0x1000B) return "Linear_B";
  512.       if(f>=0x1000D && f<=0x10026) return "Linear_B";
  513.       if(f>=0x10028 && f<=0x1003A) return "Linear_B";
  514.       if(f>=0x1003C && f<=0x1003D) return "Linear_B";
  515.       if(f>=0x1003F && f<=0x1004D) return "Linear_B";
  516.       if(f>=0x10050 && f<=0x1005D) return "Linear_B";
  517.       if(f>=0x10080 && f<=0x100FA) return "Linear_B";
  518.       if(f>=0x10380 && f<=0x1039D) return "Ugaritic";
  519.       if(f==0x1039F) return "Ugaritic";
  520.       if(f>=0x10450 && f<=0x1047F) return "Shavian";
  521.       if(f>=0x10480 && f<=0x1049D) return "Osmanya";
  522.       if(f>=0x104A0 && f<=0x104A9) return "Osmanya";
  523.       if(f>=0x10800 && f<=0x10805) return "Cypriot";
  524.       if(f==0x10808) return "Cypriot";
  525.       if(f>=0x1080A && f<=0x10835) return "Cypriot";
  526.       if(f>=0x10837 && f<=0x10838) return "Cypriot";
  527.       if(f==0x1083C) return "Cypriot";
  528.       if(f==0x1083F) return "Cypriot";
  529.       if(f>=0x2800 && f<=0x28FF) return "Braille";
  530.       if(f>=0x1A00 && f<=0x1A1B) return "Buginese";
  531.       if(f>=0x1A1E && f<=0x1A1F) return "Buginese";
  532.       if(f>=0x3E2 && f<=0x3EF) return "Coptic";
  533.       if(f>=0x2C80 && f<=0x2CEA) return "Coptic";
  534.       if(f>=0x2CF9 && f<=0x2CFF) return "Coptic";
  535.       if(f>=0x1980 && f<=0x19A9) return "New_Tai_Lue";
  536.       if(f>=0x19B0 && f<=0x19C9) return "New_Tai_Lue";
  537.       if(f>=0x19D0 && f<=0x19D9) return "New_Tai_Lue";
  538.       if(f>=0x19DE && f<=0x19DF) return "New_Tai_Lue";
  539.       if(f>=0x2C00 && f<=0x2C2E) return "Glagolitic";
  540.       if(f>=0x2C30 && f<=0x2C5E) return "Glagolitic";
  541.       if(f>=0x2D30 && f<=0x2D65) return "Tifinagh";
  542.       if(f==0x2D6F) return "Tifinagh";
  543.       if(f>=0xA800 && f<=0xA82B) return "Syloti_Nagri";
  544.       if(f>=0x103A0 && f<=0x103C3) return "Old_Persian";
  545.       if(f>=0x103C8 && f<=0x103D5) return "Old_Persian";
  546.       if(f>=0x10A00 && f<=0x10A03) return "Kharoshthi";
  547.       if(f>=0x10A05 && f<=0x10A06) return "Kharoshthi";
  548.       if(f>=0x10A0C && f<=0x10A13) return "Kharoshthi";
  549.       if(f>=0x10A15 && f<=0x10A17) return "Kharoshthi";
  550.       if(f>=0x10A19 && f<=0x10A33) return "Kharoshthi";
  551.       if(f>=0x10A38 && f<=0x10A3A) return "Kharoshthi";
  552.       if(f>=0x10A3F && f<=0x10A47) return "Kharoshthi";
  553.       if(f>=0x10A50 && f<=0x10A58) return "Kharoshthi";
  554.       if(f>=0x1B00 && f<=0x1B4B) return "Balinese";
  555.       if(f>=0x1B50 && f<=0x1B7C) return "Balinese";
  556.       if(f>=0x12000 && f<=0x1236E) return "Cuneiform";
  557.       if(f>=0x12400 && f<=0x12462) return "Cuneiform";
  558.       if(f>=0x12470 && f<=0x12473) return "Cuneiform";
  559.       if(f>=0x10900 && f<=0x10919) return "Phoenician";
  560.       if(f==0x1091F) return "Phoenician";
  561.       if(f>=0xA840 && f<=0xA877) return "Phags_Pa";
  562.       if(f>=0x7C0 && f<=0x7FA) return "N'ko";
  563.       if(f>=0x1B80 && f<=0x1BAA) return "Sundanese";
  564.       if(f>=0x1BAE && f<=0x1BB9) return "Sundanese";
  565.       if(f>=0x1C00 && f<=0x1C37) return "Lepcha";
  566.       if(f>=0x1C3B && f<=0x1C49) return "Lepcha";
  567.       if(f>=0x1C4D && f<=0x1C4F) return "Lepcha";
  568.       if(f>=0x1C50 && f<=0x1C7F) return "Ol_Chiki";
  569.       if(f>=0xA500 && f<=0xA62B) return "Vai";
  570.       if(f>=0xA880 && f<=0xA8C4) return "Saurashtra";
  571.       if(f>=0xA8CE && f<=0xA8D9) return "Saurashtra";
  572.       if(f>=0xA900 && f<=0xA92F) return "Kayah_Li";
  573.       if(f>=0xA930 && f<=0xA953) return "Rejang";
  574.       if(f==0xA95F) return "Rejang";
  575.       if(f>=0x10280 && f<=0x1029C) return "Lycian";
  576.       if(f>=0x102A0 && f<=0x102D0) return "Carian";
  577.       if(f>=0x10920 && f<=0x10939) return "Lydian";
  578.       if(f==0x1093F) return "Lydian";
  579.       if(f>=0xAA00 && f<=0xAA36) return "Cham";
  580.       if(f>=0xAA40 && f<=0xAA4D) return "Cham";
  581.       if(f>=0xAA50 && f<=0xAA59) return "Cham";
  582.       if(f>=0xAA5C && f<=0xAA5F) return "Cham";
  583.      
  584.       return "Unknown";
  585.     }
clone this paste RAW Paste Data