Bülent Üstün <bu****@isikun.edu.tr> wrote:
im trying to upload somefiles using sockets to a FTP site.
But i've some problems with extended ascii characters.
What *exactly* do you mean by "extended ASCII" here? There is no one
character set which is "extended ASCII".
When i try "MKD bülent" the created folder is "blent".
The directory name is kept in a string.
What should i convert its encoding to?
That depends on what the FTP server is expecting, I'm afraid. Consult
the FTP RFC to see if it has any information on the subject.
You could try using Encoding.Default, but really you need to know what
the server is expecting.
See
http://www.pobox.com/~skeet/csharp/unicode.html for more
information.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too