Encoding UTF8 string to ISO-8859-1 String (VB.NET)

后端 未结 5 1824
星月不相逢
星月不相逢 2020-12-11 22:11

I need to convert UTF8 string to ISO-8859-1 string using VB.NET.

Any example?


emphasized textI have tried Latin function and not runs. I recei

5条回答
  •  有刺的猬
    2020-12-11 22:54

    Because System.Text.Encoding.GetEncoding("ISO-8859-1") does not support ñ is my guess, in that case you need to use another encoding type for you SMS.

    Please read The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)

提交回复
热议问题