Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f25ed23

Browse files
committed
Fix Karel's patch. Suggested by Eiji Tokuya
1 parent 2277671 commit f25ed23

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/interfaces/odbc/multibyte.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ unsigned char *
7171
check_client_encoding(unsigned char *str)
7272
{
7373
if (strstr(str, "%27SJIS%27") ||
74+
strstr(str, "%27Shift_JIS%27") ||
7475
strstr(str, "'SJIS'") ||
7576
strstr(str, "'sjis'") ||
7677
strstr(str, "'Shift_JIS'"))
@@ -79,8 +80,9 @@ check_client_encoding(unsigned char *str)
7980
return ("SJIS");
8081
}
8182
if (strstr(str, "%27BIG5%27") ||
83+
strstr(str, "%27Big5%27") ||
8284
strstr(str, "'BIG5'") ||
83-
strstr(str, "'big5'")
85+
strstr(str, "'big5'") ||
8486
strstr(str, "'Big5'"))
8587
{
8688
multibyte_client_encoding = BIG5;

0 commit comments

Comments
 (0)