• Tatsuo Ishii's avatar
    Add "SHIFT_JIS" as an accepted encoding name for locale checking. · 1f0626ee
    Tatsuo Ishii authored
    When locale is "ja_JP.SJIS", nl_langinfo(CODESET) returns "SHIFT_JIS"
    on some platforms, at least on RedHat Linux. So the encoding/locale
    match table (encoding_match_list) needs the entry. Otherwise client
    encoding is set to SQL_ASCII.
    
    Back patch to all supported branches.
    1f0626ee
chklocale.c 9.1 KB