I have an application that allow exchange messages and I'm trying to send a string with special characters
string my_str = "isto não está a funcionar! (pt)";
comPort1.Write(my_str);
But I receive isto n?o est? a funcionar! (pt)
.
I tried to put comPort1.Encoding = Encoding.UTF8;
before but it's not working yet. I tried diferent encodings.