generated html version of u8.hHOME

int u8sscanch(const char *s,const char **end);

int u8chrwid(int ch){
if(ch<=0x10FF)return 1;
if(ch<=0x115F)return 2;
if(ch<=0x2319)return 1;
if(ch<=0x231B)return 2;
if(ch<=0x2328)return 1;
if(ch<=0x232A)return 2;
if(ch<=0x23E8)return 1;
if(ch<=0x23EC)return 2;
if(ch<=0x23EF)return 1;
if(ch<=0x23F0)return 2;
if(ch<=0x23F2)return 1;
if(ch<=0x23F3)return 2;
if(ch<=0x25FC)return 1;
if(ch<=0x25FE)return 2;
if(ch<=0x2613)return 1;
if(ch<=0x2615)return 2;
if(ch<=0x2647)return 1;
if(ch<=0x2653)return 2;
if(ch<=0x267E)return 1;
if(ch<=0x267F)return 2;
if(ch<=0x2692)return 1;
if(ch<=0x2693)return 2;
if(ch<=0x26A0)return 1;
if(ch<=0x26A1)return 2;
if(ch<=0x26A9)return 1;
if(ch<=0x26AB)return 2;
if(ch<=0x26BC)return 1;
if(ch<=0x26BE)return 2;
if(ch<=0x26C3)return 1;
if(ch<=0x26C5)return 2;
if(ch<=0x26CD)return 1;
if(ch<=0x26CE)return 2;
if(ch<=0x26D3)return 1;
if(ch<=0x26D4)return 2;
if(ch<=0x26E9)return 1;
if(ch<=0x26EA)return 2;
if(ch<=0x26F1)return 1;
if(ch<=0x26F3)return 2;
if(ch<=0x26F4)return 1;
if(ch<=0x26F5)return 2;
if(ch<=0x26F9)return 1;
if(ch<=0x26FA)return 2;
if(ch<=0x26FC)return 1;
if(ch<=0x26FD)return 2;
if(ch<=0x2704)return 1;
if(ch<=0x2705)return 2;
if(ch<=0x2709)return 1;
if(ch<=0x270B)return 2;
if(ch<=0x2727)return 1;
if(ch<=0x2728)return 2;
if(ch<=0x274B)return 1;
if(ch<=0x274C)return 2;
if(ch<=0x274D)return 1;
if(ch<=0x274E)return 2;
if(ch<=0x2752)return 1;
if(ch<=0x2755)return 2;
if(ch<=0x2756)return 1;
if(ch<=0x2757)return 2;
if(ch<=0x2794)return 1;
if(ch<=0x2797)return 2;
if(ch<=0x27AF)return 1;
if(ch<=0x27B0)return 2;
if(ch<=0x27BE)return 1;
if(ch<=0x27BF)return 2;
if(ch<=0x2B1A)return 1;
if(ch<=0x2B1C)return 2;
if(ch<=0x2B4F)return 1;
if(ch<=0x2B50)return 2;
if(ch<=0x2B54)return 1;
if(ch<=0x2B55)return 2;
if(ch<=0x2E44)return 1;
if(ch<=0x303E)return 2;
if(ch<=0x303F)return 1;
if(ch<=0x3247)return 2;
if(ch<=0x324F)return 1;
if(ch<=0x4DBF)return 2;
if(ch<=0x4DFF)return 1;
if(ch<=0xA4C6)return 2;
if(ch<=0xA95F)return 1;
if(ch<=0xA97C)return 2;
if(ch<=0xABF9)return 1;
if(ch<=0xD7A3)return 2;
if(ch<=0xF8FF)return 1;
if(ch<=0xFAFF)return 2;
if(ch<=0xFE0F)return 1;
if(ch<=0xFE19)return 2;
if(ch<=0xFE2F)return 1;
if(ch<=0xFE6B)return 2;
if(ch<=0xFEFF)return 1;
if(ch<=0xFF60)return 2;
if(ch<=0xFFDC)return 1;
if(ch<=0xFFE6)return 2;
if(ch<=0x16F9F)return 1;
if(ch<=0x1B001)return 2;
if(ch<=0x1F003)return 1;
if(ch<=0x1F004)return 2;
if(ch<=0x1F0CE)return 1;
if(ch<=0x1F0CF)return 2;
if(ch<=0x1F18D)return 1;
if(ch<=0x1F18E)return 2;
if(ch<=0x1F190)return 1;
if(ch<=0x1F19A)return 2;
if(ch<=0x1F1FF)return 1;
if(ch<=0x1F320)return 2;
if(ch<=0x1F32C)return 1;
if(ch<=0x1F335)return 2;
if(ch<=0x1F336)return 1;
if(ch<=0x1F37C)return 2;
if(ch<=0x1F37D)return 1;
if(ch<=0x1F393)return 2;
if(ch<=0x1F39F)return 1;
if(ch<=0x1F3CA)return 2;
if(ch<=0x1F3CE)return 1;
if(ch<=0x1F3D3)return 2;
if(ch<=0x1F3DF)return 1;
if(ch<=0x1F3F0)return 2;
if(ch<=0x1F3F3)return 1;
if(ch<=0x1F3F4)return 2;
if(ch<=0x1F3F7)return 1;
if(ch<=0x1F43E)return 2;
if(ch<=0x1F43F)return 1;
if(ch<=0x1F440)return 2;
if(ch<=0x1F441)return 1;
if(ch<=0x1F4FC)return 2;
if(ch<=0x1F4FE)return 1;
if(ch<=0x1F53D)return 2;
if(ch<=0x1F54A)return 1;
if(ch<=0x1F54E)return 2;
if(ch<=0x1F54F)return 1;
if(ch<=0x1F567)return 2;
if(ch<=0x1F579)return 1;
if(ch<=0x1F57A)return 2;
if(ch<=0x1F594)return 1;
if(ch<=0x1F596)return 2;
if(ch<=0x1F5A3)return 1;
if(ch<=0x1F5A4)return 2;
if(ch<=0x1F5FA)return 1;
if(ch<=0x1F64F)return 2;
if(ch<=0x1F67F)return 1;
if(ch<=0x1F6C5)return 2;
if(ch<=0x1F6CB)return 1;
if(ch<=0x1F6CC)return 2;
if(ch<=0x1F6CF)return 1;
if(ch<=0x1F6D2)return 2;
if(ch<=0x1F6EA)return 1;
if(ch<=0x1F6EC)return 2;
if(ch<=0x1F6F3)return 1;
if(ch<=0x1F6F6)return 2;
if(ch<=0x1F8AD)return 1;
if(ch<=0x3FFFD)return 2;
return 1;
}