Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Nov : Indy and Widestrings

www.cryer.info
Managed Newsgroup Archive

Indy and Widestrings

Subject:Indy and Widestrings
Posted by:"RGreen" (rgreen@nospam.org)
Date:Fri, 4 Nov 2005 08:40:53

Hello!

These 3 questions could potentially be *very* stupid, but I am about making
plans for a new application and I want to know all the possibilities before
I begin coding.

1)  I will work with a full unicode enable application that will only run in
NT based systems. This applications has 2 processes that will communicate (I
think) using TCP/IP with Indy or possibly ICS. Those applications will send
widestrings to each other to communicate. Is there any
Client.IOHandler.WriteLnW()  or must I use WriteBuffer? This is not a
problem but Idon't want to re-invent the wheel.

2) One of the applications will connect to a FTP server and upload/download
some files. Because the application is intended to work for proffesional
translators, the filename in the machine can potentially contain filenames
in different languages/codepages. Filesystems are always unicode enables in
NT (and even in 9x AFAIK). How could I force Indy or ICS to upload/download
files using widestring characters? Is this possible at all or will I get
Invalide File Names if I'm sending files with filenames in hebrew? Could
somebody tell me a solution to this?

3) OK, this is not a winsock question, but I'll give it a shot here anyway.
The same problem happens when zipping. Is there any library (freeware or
not) that can compress files using widechar? I know rar does it, but a
delphi component or dll fot *compressing* doesn't exist AFAIK.

Regards

Replies:

www.cryer.info
Managed Newsgroup Archive