0
Hello,
I need to gather some information from the station, and I’m getting it. However in the received text I cannot apply an Encoder to correctly display the special characters:
I have tried using "ISO-8859-1", and other Ncode forms as well
string blah = System.Text.Encoding.Unicode.GetString(System.Text.Encoding.Unicode.GetBytes(suaString));
or
byte[] bytes = Encoding.Default.GetBytes(sOutput);
sOutput = Encoding.UTF8.GetString(bytes);
var teste = Encoding.UTF8.GetString(bytes);
Have you tried with the
Encoding.GetEncoding(850)
?– Jéf Bueno
no, I’ll try!
– Ezequiel da Silva Daniel
@jbueno didn’t work out!
– Ezequiel da Silva Daniel