• unknown's avatar
    WL#1386 - CTYPE table for unicode character sets · 4fa4383b
    unknown authored
    A prerequisite for several fulltext and XML bugs.
    MY_CHARSET_HANDLER now has a new function "ctype"
    to detect a type of the next character in a string
    (i.e. digit, letter, space, punctuation, control, etc),
    which now works correctly for both 8bit and multibyte charsets.
    Previously only 8bit charsets worked correctly,
    while any multibyte character was considered as letter
    in multibyte charsets.
    Many files:
      Adding new function
    Makefile.am:
      Adding build rules for uctypedump,
      a dump tool to create my_uctype.h
      using Unicode Character Database file.
    m_ctype.h:
      Adding declaration of my_uni_ctype,
      ctype data for Unicode.
      Adding new member into MY_CHARSET_HANDLER
    Makefile.am:
      Adding my_uctype.h into noinst_HEADERS
    my_uctype.h, uctypedump.c:
      new files:
      ctype data for unicode,
      and the tool to generate it from 
      a Unicode Character Database file.
    
    
    
    include/Makefile.am:
      Adding my_uctype.h
    include/m_ctype.h:
      Adding declaration of my_uni_ctype,
      ctype data for Unicode.
    strings/Makefile.am:
      Adding build rules for uctypedump,
      a dump tool to create my_uctype.h
      using Unicode Character Database file.
    strings/ctype-big5.c:
      Adding new function
    strings/ctype-bin.c:
      Adding new function
    strings/ctype-cp932.c:
      Adding new function
    strings/ctype-euc_kr.c:
      Adding new function
    strings/ctype-eucjpms.c:
      Adding new function
    strings/ctype-gb2312.c:
      Adding new function
    strings/ctype-gbk.c:
      Adding new function
    strings/ctype-latin1.c:
      Adding new function
    strings/ctype-mb.c:
      Adding new function
    strings/ctype-simple.c:
      Adding new function
    strings/ctype-sjis.c:
      Adding new function
    strings/ctype-tis620.c:
      Adding new function
    strings/ctype-ucs2.c:
      Adding new function
    strings/ctype-ujis.c:
      Adding new function
    strings/ctype-utf8.c:
      Adding new function
    4fa4383b
ctype-gb2312.c 316 KB