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

Lines changed: 3 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy