Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Mar : Re: using IdFTP(INDY 10) to download files with russian letters
| Subject: | Re: using IdFTP(INDY 10) to download files with russian letters |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Thu, 27 Mar 2008 02:48:46 |
"tricky" <notricky@bk.ru> wrote in message
news:47eb6bf0$1@newsgroups.borland.com...
> When I got the file list (.DirectoryListing...) from the FTP current dir,
> then
> I start to retrieve filenames in cycle "For .. to .. do". While the name
> of file
> is still english - it's ok, but when appears filename in russian letters,
> the class
> raises Exception: "Can't find specified file <filename.ext>". Moreover,
> shown
> filename has some letters missed, and always missed the last letter in
> russian
> alphabeth (its 255 in ASCII code). But instead of this letter, i use it
> upper
> case symbol - its ok.
TIdFTP cannot handle such high character values, as it does not implement
support for 8-bit text (or UTF-8) at this time. That will be available in a
new version of Indy 10 when CodeGear's Tiburon IDE is released later this
year.
Gambit