<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I think the ZIP file guys are well aware of that problem.<br>
<br>
In <tt><a class="moz-txt-link-freetext" href="https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT">https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT</a></tt><br>
search for <tt>4.6.9 -Info-ZIP Unicode Path Extra Field (0x7075)</tt>.<br>
<br>
I don't know how much effort it is to add this extra field.<br>
<br>
<br>
HTH and Best Regards,<br>
<br>
Gerald<br>
<br>
<br>
<div class="moz-cite-prefix"><br>
On 11/23/23 8:43 PM, Gerald Klix via Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:85d11dae-ffb5-97be-1074-580b71a0d539@klix.ch">Yes, of
course!
<br>
<br>
Execute this snippet in a workspace:
<br>
<br>
problematicName :=
'5922-FixedClassMethodPushDown-TomásSpognardi-2023Jul09-20h38m-TS.001.cs.st'.<br>
fileEntry := DirectoryEntry smalltalkImageDirectory parent /
<br>
'Cuis-Smalltalk-Dev' / 'CoreUpdates' // problematicName.
<br>
.
<br>
<br>
(z1 := ZipArchive new) zipFileComment: 'ZIP test'.
<br>
z1
<br>
addFile: fileEntry pathName as: problematicName;
<br>
writeToFileNamed: 'test.zip';
<br>
close.
<br>
<br>
<br>
unzip test.zip like this:
<br>
<br>
bear@speedy ~/s/c/Environments> unzip test.zip
<br>
Archive: test.zip
<br>
ZIP test
<br>
warning [test.zip]: 1 extra byte at beginning or within zipfile
<br>
(attempting to process anyway)
<br>
error [test.zip]: reported length of central directory is
<br>
-1 bytes too long (Atari STZip zipfile? J.H.Holm ZIPSPLIT 1.1
<br>
zipfile?). Compensating...
<br>
inflating:
5922-FixedClassMethodPushDown-TomásSpognardi-2023Jul09-20h38m-TS.001.cs.s<br>
error: invalid compressed data to inflate
<br>
<br>
note: didn't find end-of-central-dir signature at end of central
dir.
<br>
(please check that you have transferred or created the zipfile
in the
<br>
appropriate BINARY mode and that you have compiled UnZip
properly)
<br>
<br>
<br>
See below ...
<br>
<br>
<br>
HTH,
<br>
<br>
Gerald
<br>
<br>
<br>
<br>
On 11/23/23 8:09 PM, Juan Vuletich via Cuis-dev wrote:
<br>
<blockquote type="cite">Hi Gerald,
<br>
<br>
On 11/23/2023 3:29 PM, Gerald Klix via Cuis-dev wrote:
<br>
<blockquote type="cite">Hi Juan,
<br>
<br>
I was bit hasty, zipping
5922-FixedClassMethodPushDown-TomásSpognardi-2023Jul09-20h38m-TS.001.cs.st<br>
still does not work. I renamed this file and forgot to undo
that change.
<br>
</blockquote>
<br>
Strange.
<br>
<br>
I switched to Linux (Ubuntu). Pulled repo. Started a fresh Cuis.
Did `Feature require: 'Compression'.`. Then:
<br>
`
<br>
ZipArchive new
<br>
zipFileComment: 'ZIP file test';
<br>
addFile:
'Cuis-Smalltalk-Dev/CoreUpdates/5922-FixedClassMethodPushDown-TomásSpognardi-2023Jul09-20h38m-TS.001.cs.st'
as: 'testOutx.bin';
<br>
</blockquote>
I suppose the *filename in the archive* is the culprit.
<br>
<blockquote type="cite">writeToFileNamed: 'testbinx.zip'.
<br>
`
<br>
<br>
I got a zip file that Linux can unzip without trouble.
<br>
<br>
Can you please repeat _exactly_ those steps? If that works,
give me enough detail so I can reproduce it on my machine.
Please include any error messages you get along the way.
<br>
<br>
<blockquote type="cite">Best regards,
<br>
<br>
Gerald
<br>
<br>
</blockquote>
<br>
BTW, the Georgian example is just "Lorem Ipsum Dolor" :)
<br>
<br>
Cheers,
<br>
<br>
</blockquote>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<br>
</body>
</html>