We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2277671 commit f25ed23Copy full SHA for f25ed23
src/interfaces/odbc/multibyte.c
@@ -71,6 +71,7 @@ unsigned char *
71
check_client_encoding(unsigned char *str)
72
{
73
if (strstr(str, "%27SJIS%27") ||
74
+ strstr(str, "%27Shift_JIS%27") ||
75
strstr(str, "'SJIS'") ||
76
strstr(str, "'sjis'") ||
77
strstr(str, "'Shift_JIS'"))
@@ -79,8 +80,9 @@ check_client_encoding(unsigned char *str)
79
80
return ("SJIS");
81
}
82
if (strstr(str, "%27BIG5%27") ||
83
+ strstr(str, "%27Big5%27") ||
84
strstr(str, "'BIG5'") ||
- strstr(str, "'big5'")
85
+ strstr(str, "'big5'") ||
86
strstr(str, "'Big5'"))
87
88
multibyte_client_encoding = BIG5;
0 commit comments