c# - UnicodeEncoding.GetBytes sometime doesn't get the right Bytes -
i want encode utf-8 text german latin encoding.
unicodeencoding unicodeencoding = new unicodeencoding(); byte[] bytes = unicodeencoding.getbytes(text);
the problem method encodes ä
ä(0x00e4)
or a(0x0061)
, "(0x0308)
.
Comments
Post a Comment