Content-Length: 274588 | pFad | http://github.com/postgrespro/postgres_cluster/commit/f25ed23c571dfd904620b79f9f7b1812085b3d12

46 Fix Karel's patch. Suggested by Eiji Tokuya · postgrespro/postgres_cluster@f25ed23 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/f25ed23c571dfd904620b79f9f7b1812085b3d12

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy