A weird thing in c# Encoding

后端 未结 6 1805
北海茫月
北海茫月 2020-12-11 21:52

I convert a byte array to a string , and I convert this string to byte array. these two byte arrays are different.

6条回答
  •  借酒劲吻你
    2020-12-11 22:16

    The ASCII character set has a range from 1 to 127. You can see 188 is not in this range and is converted to ? (= ASC 63).

提交回复
热议问题