I am having a problem with reading my sms through putty, Its beacuse I type AT+CMGL=\"ALL\" but the message(text) and number are just numbers, I read that my gms modem nokia
To convert from the UCS-2 encoding store the result (input) in a byte array instead of a string and then call
System.Text.Encoding enc = Encoding.Unicode;
string myString = enc.GetString(myByteArray);
If the UCS-2 encoding is Big Endian then change System.Text.Encoding enc = Encoding.Unicode;
to
System.Text.Encoding enc = Encoding.BigEndianUnicode;
.
Related resources include: