We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The default encoding in TextOf and BytesOf is the same
BytesOf uses Encoding.UTF8 TextOf uses Encoding.GetEncoding(0) This can lead to errors if Bytes are encoded as text and then encoded back to bytes
Encoding.UTF8
Encoding.GetEncoding(0)
The text was updated successfully, but these errors were encountered:
We have several places where we use UTF8. I think we should adjust the default encoding for TextOf to Encoding.UTF8
TextOf
Sorry, something went wrong.
Yes, we already agreed on using UTF-8 for all our libraries.
LeonardKrml
Successfully merging a pull request may close this issue.
Expected Behavior
The default encoding in TextOf and BytesOf is the same
Actual Behavior
BytesOf uses
Encoding.UTF8
TextOf uses
Encoding.GetEncoding(0)
This can lead to errors if Bytes are encoded as text and then encoded back to bytes
Mention any other details that might be useful
Steps to reproduce the behavior
The log given by the failure.
The text was updated successfully, but these errors were encountered: