Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Nov : Re: idFTP unicode name transfers

www.cryer.info
Managed Newsgroup Archive

Re: idFTP unicode name transfers

Subject:Re: idFTP unicode name transfers
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Fri, 2 Nov 2007 17:46:41

"Richard" <ritchie872@yahoo.com> wrote in message
news:472baaf5@newsgroups.borland.com...

> How can idFTP do the same?

The FTP protocol is ASCII based (like most other Internet protocols are).
It does not support Uncode directly.  You will have to encode your Uncode
strings as UTF-8 before passing them to TIdFTP, and then decode any UTF-8
strings that TIdFTP gives you back to Unicode.

This will only work if the FTP server supports UTF-8 to begin with, as
determined by the response to the FEAT command.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive