From f7ebcac6d50d3c91d596e3133f88a6130b5a21a4 Mon Sep 17 00:00:00 2001 From: Gene Date: Fri, 29 Sep 2023 09:37:58 +0200 Subject: [PATCH] v1.2.17 - fixed *WebServiceGateway* error "Windows -1252 is not supported encoding name" --- MIG/Gateways/WebServiceGateway.cs | 2 ++ MIG/MIG.csproj | 1 + 2 files changed, 3 insertions(+) diff --git a/MIG/Gateways/WebServiceGateway.cs b/MIG/Gateways/WebServiceGateway.cs index 07c87dd..386af82 100644 --- a/MIG/Gateways/WebServiceGateway.cs +++ b/MIG/Gateways/WebServiceGateway.cs @@ -119,6 +119,8 @@ public class WebServiceGateway : IMigGateway, IDisposable public WebServiceGateway() { sseEventBuffer = new List(); + // the following line fixes the error: "Windows -1252 is not supported encoding name" + Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); } public List