Home > Back-end >  The use of the cellar TIdTelnet controls
The use of the cellar TIdTelnet controls

Time:09-18

Now need a BCB Telnet example, I use IdTelnet controls, send out information, send Chinese on the server side show is garbled, now solve the problem Utf8 gibberish, but now IdTelnet onDataAvailable event received string in Chinese is garbled,
Consult, how should solve? The IDE is CB2010

CodePudding user response:

TIdTelnet characters encoder to UTF8 try

IdTelnet1 - & gt; IOHandler - & gt; DefStringEncoding=IndyTextEncoding_UTF8;
  • Related