Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.6k views
in .NET FTP by (200 points)
Hey,

i have a problem with special characters like "

5 Answers

0 votes
by (51.6k points)
Try using UTF8!

- Hans (EnterpriseDT)
0 votes
by (162k points)
Maybe try UTF8?
0 votes
by (200 points)
I use:

Encoding encoding = new UTF8Encoding(false);


Thanks a lot! :)
0 votes
by (200 points)
There is still a problem:

When i upload a file to the ftp server with filezilla or a similar program, the UTF8-Encoding works well.
However, if the file has been uploaded on another way, without a defined encoding, it doesn't work with UTF8. In that way i have to choose another one.
Can I check the encoding of the file on the ftp server in some way?
0 votes
by (162k points)
Is the problem with the *contents* of the file or the *filename*?

If someone has uploaded a file with the wrong encoding, it may not be possible to get the original file back.

Categories

...