Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch NotSupportedException trying GetEncoding #146

Merged
merged 2 commits into from
Jun 27, 2022

Conversation

304NotModified
Copy link
Member

No description provided.

jamesjohnmcguire and others added 2 commits June 27, 2022 21:46
A rare occurrence of aNotSupportedException will happen when the
encoding is UTF-7.  The exception message is "NotSupportedException:
Support for UTF-7 is disabled. See
https://aka.ms/dotnet-warnings/SYSLIB0001 for more information."
 Eliminating UTF-7 usage is far from the scope of this commit.  But
catching the NotSupportedException allows the library to continue.
@304NotModified 304NotModified enabled auto-merge (squash) June 27, 2022 19:53
@304NotModified 304NotModified added this to the 2.6 milestone Jun 27, 2022
@304NotModified 304NotModified merged commit 87f1a83 into master Jun 27, 2022
@304NotModified 304NotModified deleted the handle-notsupportedexception branch June 27, 2022 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants