Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Reading language-specific characters from Socket

oguzkurtoguzkurt Member Posts: 1
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
Sign In or Register to comment.