Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

German Umlaute > Problem after 'Zip and Download'
Last Post 06/04/2012 2:18 PM by mh. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
mh
New Member
New Member
Posts:11


--
05/30/2012 1:25 PM
Hello,

I'm using Dnn 6.01.03 and DMX 5.3.8.
I have a problem with the special characters (äöü) in filenames after using 'Zip and Download'. The files are downloaded, but the characters are not correct.

Can I specify the encoding or how can I solve this problem?


Any ideas?

Thanks.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/01/2012 10:38 AM
Hi,

For now I don't see a solution to this. I'll make a note and try to replicate.

Peter
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/01/2012 12:11 PM
I've delved into this and found the issue is in SharpZipLib. It appears to be quite tricky. From my research I have found that the zip file does not store internally how the filenames have been encoded. And the decoding happens on the server which is a different machine then the client machine that created the zip. Now the server is set to use its own internal default "CodePage" for interpreting textual data. More details here:

http://community.sharpdev.../forums/t/10702.aspx

I've run a number of tests locally with different filenames zipped up. But I've never been able to get a proper filename back. I zipped using Windows "Send to compressed folder". When using Windows or WinRAR I get the filenames back as expected. But using SharpZipLib I get garbage. For now I'm not able to promise I'll have this resolved for the next version. Note I use the SharpZipLib that is packaged with DNN, so I can't just go and tweak the code in that (besides the fact that it would be a ton of work to find out how that code works and where this issue may be).

Peter
mh
New Member
New Member
Posts:11


--
06/04/2012 2:18 PM
I noticed your answer just now. Thanks for the quick reply.

So, I try to avoid using this character in filenames now.
You are not authorized to post a reply.