This is a migrated thread and some comments may be shown as answers.

Ftp provider + Encoding

2 Answers 74 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Mattias
Top achievements
Rank 1
Mattias asked on 27 Sep 2010, 08:46 AM
Hi,
I'm getting ??? in my file names when using your custom ftp provider.
Is there some way to set encoding of file names in the fileexplorer?

Regards,
Mattias

2 Answers, 1 is accepted

Sort by
0
Mattias
Top achievements
Rank 1
answered on 28 Sep 2010, 12:13 PM
I changed the line 780 in FtpClient.cs to:
using (StreamReader sr = new StreamReader(datastream, System.Text.Encoding.GetEncoding("iso-8859-1"))) //.UTF8))

it seems to work! :)

/Mattias
0
Dobromir
Telerik team
answered on 30 Sep 2010, 07:38 AM
Hi Mattias,

Thank you for bringing this problem to us and sharing your solution with the community. As a small token of gratitude I have updated your Telerik points.

Regards,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
FileExplorer
Asked by
Mattias
Top achievements
Rank 1
Answers by
Mattias
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or