How to convert utf8 string to utf8 byte array?

前端 未结 0 1816
攒了一身酷
攒了一身酷 2021-02-12 04:18

How can I convert string to utf8 byte array, I have this sample code:

This works ok:

StreamWriter file = new StreamWriter(file1, false, Encoding.UTF8);
f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题