.NET 5 UTF-7 encoding

Stimulsoft Reports.WEB discussion
Post Reply
anjung
Posts: 11
Joined: Sun Nov 15, 2020 12:10 pm

.NET 5 UTF-7 encoding

Post by anjung »

Tried the angular viewer component in .NET 5 however I get the following exception
System.NotSupportedException: 'Support for UTF-7 is disabled. See https://aka.ms/dotnet-warnings/SYSLIB0001 for more information.'

StackTrace:
at System.Text.Encoding.GetEncoding(Int32 codepage)
at Stimulsoft.Report.Web.StiCollectionsHelper.<>c__DisplayClass1_0.<GetEncodingDataItems>b__0(Int32 e)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at Stimulsoft.Report.Web.StiCollectionsHelper.GetEncodingDataItems()
at Stimulsoft.Report.Angular.StiAngularViewer.ViewerDataResult(StiRequestParams requestParams, StiAngularViewerOptions options)

tried this in startup yet no change:
StiOptions.Web.WebClientEncoding = Encoding.UTF8;

is there any other option to set encoding?
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: .NET 5 UTF-7 encoding

Post by Lech Kulikowski »

Hello,

The issue is fixed. The fix will be avaialable in the release 2020.5.2 within one or two weeks.

Thank you.
Post Reply