I have encoded message at receive pipeline
byte[] msgBodyContentBytesConverted = Encoding.Convert(Encoding.Unicode, Encoding.UTF8, msgBodyContentBytes);
But when i m tried to decode text using below listed code
1. byte[] msgBodyContentBytes = Encoding.UTF8.GetBytes(text);
string returntext = System.Text.Encoding.UTF8.GetString(msgBodyContentBytes);
return returntext;
There is no change in the value
The encoded value is "" but when i am trying to decode .. the output is same.
Can any one suggest me where i m missing
- Edited by Singh AK Wednesday, February 18, 2015 2:21 AM