I have a RichTextBox which continuously receives data in JSON dictionary format. (It's a chat program)
However, when receiving unicode characters (or any like these: ç ù é è à) , they literally look like this:
\u0361 \u00b0 \u035c \u0296 \u0361 \u00b0
and get shown like that in the textbox.
I've tried using a few different encodings for the requests (for example StreamReader reader = new StreamReader(webResponse.GetResponseStream(), Encoding.UTF8)
, but it either completely messed up the requests or didn't decode them at all.
So, what's the right approach to fixing this problem? What class should I be looking into? Or is anyone kind enough to provide me with a direct solution?