Skip to content

Instantly share code, notes, and snippets.

@MIvanchev
Created November 11, 2023 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MIvanchev/56400a121d8994d2eab004ce71d7af1e to your computer and use it in GitHub Desktop.
Save MIvanchev/56400a121d8994d2eab004ce71d7af1e to your computer and use it in GitHub Desktop.
Adding an additional encoding to static-wine32.
diff --git a/dlls/msxml3/main.c b/dlls/msxml3/main.c
index 66e23114bfa..80283d3c69c 100644
--- a/dlls/msxml3/main.c
+++ b/dlls/msxml3/main.c
@@ -311,6 +311,7 @@ static void init_char_encoders(void)
} encoder[] =
{
{ "gbk", gbk_to_utf8, utf8_to_gbk },
+ { "gb2312", gbk_to_utf8, utf8_to_gbk },
{ "windows-1250", win1250_to_utf8, utf8_to_win1250 },
{ "windows-1251", win1251_to_utf8, utf8_to_win1251 },
{ "windows-1252", win1252_to_utf8, utf8_to_win1252 },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment