danikf/tik4net

Encoding problem

niphone opened this issue · 3 comments

I call the SSID field in the CapsManRegistrationTable through the API. Since the SSID contains Chinese characters, the displayed SSID result has an unrecognized question mark.

connection.Encoding = Encoding.GetEncoding("windows-1250");

Use connection.Encoding = Encoding.GetEncoding("windows-1250"); An error message appears: System.ArgumentException: 'windows-1250' is not a supported encoding name. For information on defining a custom encoding

Thank you so much!

connection.Encoding = Encoding.GetEncoding("utf-8");
Still not, the characters displayed are still question marks.