View Issue Details

IDProjectCategoryView StatusLast Update
0006345JEDI VCL00 JVCL Componentspublic2014-12-04 15:02
ReporterasolferAssigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status feedbackResolutionopen 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0006345: JvZlibMultiple crashes when directory or file to compress/decompress have unicode chars like Chinese or Greek
DescriptionDear 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 InformationI've attached my own changes to support this feature, but if I do these changes, files that compressed with original code doesn't works.
TagsNo tags attached.

Activities

2014-10-27 11:50

 

JvZlibMultipleUnicode.pas (21,357 bytes)

2014-10-27 11:56

 

errorMessage.png (8,724 bytes)
errorMessage.png (8,724 bytes)

asolfer

2014-10-27 11:59

reporter   ~0021068

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 ?

obones

2014-12-04 15:02

administrator   ~0021080

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: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