Wrong name of UTF-8 filenames and directories in zip
Brought to you by:
thomas
t = Tempfile.new(container_name+'.zip')
Zip::ZipOutputStream::open(t.path) {
|io|
docLst.each do |document|
full_filename = container_name + "/" + document.name
content = document.content
io.put_next_entry(full_filename)
io.write content
end
}
Result:
Hans Beinbrüch -> Hans Beinbr├╝ch
Passwörter Übersicht.doc -> Passw├Ârter├£bersicht.doc
Anonymous
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
dillon