Problem
The console output of the developed program renders characters in an unexpected encoding (Chinese), while the intended character encoding is (Danish) UTF-8.
Cause
The encoding setting for the .NET console output was set to UTF-16.
Resolution
To resolve this issue, follow these steps:
- Open JetBrains Rider;
- Navigate to File | Settings | Build, Execution, Deployment | .NET Console;
- Locate the encoding setting and change it to
UTF-8.
Comments
0 comments
Please sign in to leave a comment.