• unknown's avatar
    Bug#23097 mysql can't insert korean on mysql prompt. · 05dd9c1e
    unknown authored
    Problem: libedit is a very pure-ASCII oriented library,
    and it is not aware of extended (0x80..0xFF) or even multi-byte
    characters. It considered such characters as non-printable
    and didn't allow to input them.
    Fix: make libedit think that all bytes >= 0x80 are printable.
    
    
    cmd-line-utils/libedit/el.h:
      Defining macro, a locale's isprint() replacement.
      We'll consider all 8bit values as printable characters.
    cmd-line-utils/libedit/key.c:
      Changing isprint() to el_isprint().
    cmd-line-utils/libedit/map.c:
      Changing isprint() to el_isprint().
    cmd-line-utils/libedit/read.c:
      Changing isprint() to el_isprint().
    cmd-line-utils/libedit/refresh.c:
      Changing isprint() to el_isprint().
    05dd9c1e
map.c 41.2 KB