sochix / TLSharp

Telegram client library implemented in C#
1.01k stars 380 forks source link

Coding problem #918

Open sunzh132334 opened 4 years ago

sunzh132334 commented 4 years ago

When I used 'SearchPublicChats', I was prompted to ask for utf-8 encoding. However, although I did not report an error after encoding, the result was not what I wanted

sunzh132334 commented 4 years ago

with query = "@cvv%e6%af%94%e7%89%b9%e5%b8%81%e4%ba%a4%e6%98%93%e4%b8%ad%e5%bf%83" [ 3][t 4][1585673870.041835546][Td.cpp:4648][!Td][&td_requests] Sending result for request 5: chats { chat_ids = vector[0] { } }

chats { chat_ids = vector[0] { } }

The above is the data I encoded and submitted

sunzh132334 commented 4 years ago

The class I use to code is' system.web.httputility. UrlEncode 'utf-8 '