delphi - Indy, IdTCPSever sending data in utf=8 charset -
i have problem conversion strings utf-8. use standard indy method sending conversion inside:
acontext.connection.iohandler.writeln(utf8encode('ĄĘÓ'));
but client reads them '???' - 3f 3f 3f in hex (i checked using wireshark too).
i use delphi xe , indy 10.
big help.
~artik
i found solution problem, think siplest using code below:
acontext.connection.iohandler.defstringencoding := tidtextencoding.utf8;
Comments
Post a Comment