Skip to content

.NET UTF-7 encoding obsoletion #13358

@xtqqczze

Description

@xtqqczze

According to https://github.com/dotnet/designs/blob/master/accepted/2020/better-obsoletion/obsoletions-in-net5.md, .NET 5 will obsolete the UTF-7 encoding:

The UTF-7 encoding is insecure and should not be used. Consider using UTF-8 instead.

  • DiagnosticId: SYSLIB0001
  • APIs:
    • System.Text.UTF7Encoding (constructors)
    • System.Text.Encoding.UTF7

Metadata

Metadata

Assignees

Labels

Committee-ReviewedPS-Committee has reviewed this and made a decisionIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aMustHaveResolution-FixedThe issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtime

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions