From ccc7ca36531e6d4726257365de2acae52d8dc0f1 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sat, 16 Jan 2021 21:05:02 +0100 Subject: [PATCH] [python] http/1.1 spec says that default codepage is ISO-8859-1. --- src/scripting/python/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/python/hooks.c b/src/scripting/python/hooks.c index 6e3b76e7a..b0abba08c 100644 --- a/src/scripting/python/hooks.c +++ b/src/scripting/python/hooks.c @@ -129,7 +129,7 @@ get_codepage(char *head) none: if (cp_index == -1) { - cp_index = get_cp_index("System"); + cp_index = get_cp_index("ISO-8859-1"); } return cp_index;