Quantcast
Channel: DownloadSVN Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 13

Created Unassigned: Converting string ISO-8859-1 to utf-8 charset [16342]

$
0
0
At the checkout of a file with the accentuation ISO-8859-1, the system does not find the file generating an HTTP 404 error.

__Problem:__
Repository url: http://damai.googlecode.com/svn/trunk/
File problem: http://damases2.googlecode.com/svn/trunk/Damas2/build/classes/damas2/resources/peçaazulrealce.PNG

__Solution:__
in the method: DownloadFile, add the lines at the beginning:
```
var fileName_inBytes = Encoding.Default.GetBytes(fileName);
fileName = Encoding.UTF8.GetString(fileName_inBytes);

var url_inBytes = Encoding.Default.GetBytes(url);
url = Encoding.UTF8.GetString(url_inBytes);
```

Viewing all articles
Browse latest Browse all 13

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>