有没有办法在C#中确定字符串的编码?
说,我有一个文件名字符串,但我不知道它是用Unicode UTF-16编码还是系统默认编码,我怎么知道呢?
c# string encoding
c# ×1
encoding ×1
string ×1