Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006345 [JEDI VCL] 00 JVCL Components crash always 2014-10-27 11:50 2014-12-04 15:02
Reporter asolfer View Status public  
Assigned To
Priority normal Resolution open  
Status feedback   Product Version Daily / GIT
Summary 0006345: JvZlibMultiple crashes when directory or file to compress/decompress have unicode chars like Chinese or Greek
Description Dear Sirs,

I use the JvZlibMultiple in my own application to compress/decompress files and directories with complex structure of sublevels in them. If the filenames of files that I compress contains unicode characters like ????.txt the decompression fails with this message


I check the source code JvZlibMultiple.pas and I see that you use AnsiString class and I think that is the problem. I try to change this code switching this class for UnicodeString class but now, the old files compressed with the original code of JvZlibMultiple.pas doesn't works.
 

Thanks in advance,

Alex
Additional Information I've attached my own changes to support this feature, but if I do these changes, files that compressed with original code doesn't works.
Tags No tags attached.
Attached Files ? file icon JvZlibMultipleUnicode.pas [^] (21,357 bytes) 2014-10-27 11:50
png file icon errorMessage.png [^] (8,724 bytes) 2014-10-27 11:56

- Relationships

-  Notes
(0021068)
asolfer (reporter)
2014-10-27 11:59

The html codification not allow view the correct chars of ???.txt in my PC are Chinese chars...but when JvZLibMultiple works with them transform these chinese chars in ?
(0021080)
obones (administrator)
2014-12-04 15:02

Please provide the zipped sources of a sample application showing this.
Please also note that the Zip format does not officially support anything but ASCII.

- Issue History
Date Modified Username Field Change
2014-10-27 11:50 asolfer New Issue
2014-10-27 11:50 asolfer File Added: JvZlibMultipleUnicode.pas
2014-10-27 11:51 asolfer Issue Monitored: asolfer
2014-10-27 11:56 asolfer File Added: errorMessage.png
2014-10-27 11:59 asolfer Note Added: 0021068
2014-12-04 15:02 obones Note Added: 0021080
2014-12-04 15:02 obones Status new => feedback


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker