We have one docs file with content had written using TCVN3 mode, using C# for read and write that file with right format, not error, let's see ...
If you read this file with ASCII mode in C# code and write with ASCII mode, you will see this file will got error same here
Explore My Other Channel for More Cool and Valuable Insights
👉 Youtube Learn Tech Tips👉 Tiktok
👉 Facebook:If you read this file with ASCII mode in C# code and write with Unicode, your file will be good! (not error)
When you view mode on Notepad++ (click on menu Encoding).
You will see its use Mode Encode in UCS-2 Little Endian
I use Notepad++ with 5.9.2 version
When you write file using:
Thank you for reading this post. I hope you found it helpful and easy to follow. If you have any feedback or questions about
How to "read and write file with right format with C#" ,
please share them in the comments below. I would love to hear from you and discuss this topic further
✋✋✋✋
Webzone Tech Tips
- I am Zidane, See you next time soon ✋✋✋✋