I have to read some turkish characters from scket but i am not able to do this.
Setting decoder to UTF8 did not solve the problem. When the character received the event raised but
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(m_DataBuffer, 0, iRx, chars, 0);
charlen here is 0, so nothing can be decoded.
How can I solve this problem? Anybody can help?
thanks in advance
0 · ·