finsight / QUIKSharp

QUIK# (QUIK Sharp) is the QUIK Lua interface ported to .NET.
Other
230 stars 134 forks source link

Encoding issue on .net core #313

Open hodzanassredin opened 2 years ago

hodzanassredin commented 2 years ago

GetEncoding(1251) fails on .net core throws an exception. To prevent it we need to register the provider.

Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);