Off-Topic: Command-line zipper that supports extended chars?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Off-Topic: Command-line zipper that supports extended chars?

Post by avsfan »

Hi all,

I know this is off-topic, but perhaps relevant to some of the folks here...

I'm in need of a (preferably free) command-line zip utility that will support extended characters (such as those used in most of the European languages). I'm only looking for single-byte character support.

Info-zip's looked like it would work just fine, but the filenames get corrupted in the archive (could be a code page issue, I am not sure -- all I know is it doesn't seem to work for me). 7-zip doesn't even seem to support extended characters at all -- I had heard there was a way to get it to support extended characters, but I was unable to find anything about it.

As there are many folks in Europe on this forum who seem to know a great deal about these types of issues, I figured I'd ask and see what some of the local experts could recommend.

Thanks! (and sorry if this is inappropriate -- it just seemed like it might be useful enough for others, too...)

andy

Linkaday
Posts: 392
Joined: 06 Aug 2007 14:40
Location: Hamburg, Germany - Win 11 Home v25H2 x64 1920x1080 (100%)

Post by Linkaday »

IZArc (CLU) should do that

From help file:
IZArc can perform certain operations directly from the command line.
There is "Command line Add-On" that can be used for more detailed command line operations.
You can download it from IZArc main site: http://www.izarc.org

Quite sure, that it never let me down on that - I succeeded just now with files Köln.txt, Tète.txt

admin
Site Admin
Posts: 66074
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Linkaday wrote:IZArc (CLU) should do that

From help file:
IZArc can perform certain operations directly from the command line.
There is "Command line Add-On" that can be used for more detailed command line operations.
You can download it from IZArc main site: http://www.izarc.org

Quite sure, that it never let me down on that - I succeeded just now with files Köln.txt, Tète.txt
Also Zen 禅.txt ?? :wink: (in XY's rename box this would be Zen *U+7985.txt)

Linkaday
Posts: 392
Joined: 06 Aug 2007 14:40
Location: Hamburg, Germany - Win 11 Home v25H2 x64 1920x1080 (100%)

Post by Linkaday »

admin wrote:
Linkaday wrote:IZArc (CLU) should do that

From help file:
IZArc can perform certain operations directly from the command line.
There is "Command line Add-On" that can be used for more detailed command line operations.
You can download it from IZArc main site: http://www.izarc.org

Quite sure, that it never let me down on that - I succeeded just now with files Köln.txt, Tète.txt
Also Zen 禅.txt ?? :wink: (in XY's rename box this would be Zen *U+7985.txt)
Good kidding! You are really deep into that as one can see from the other thread. Your kind of pledging your imagination makes XY so outstanding. :)
@ avsfan
IZArc blatantly ignores Don's pretty example.
Version 3.81 Build 1550
-Fixed: Zip files and folders with non English names
-Fixed: Split/Merge Zip archives containing non English filenames

eurytos
Posts: 200
Joined: 29 Jan 2008 15:53

Post by eurytos »

Linkaday wrote:IZArc (CLU) should do that

From help file:
IZArc can perform certain operations directly from the command line.
There is "Command line Add-On" that can be used for more detailed command line operations.
You can download it from IZArc main site: http://www.izarc.org

Quite sure, that it never let me down on that - I succeeded just now with files Köln.txt, Tète.txt
Hey thanks for this!

7zip command line was a little lacking for me in some areas so I am going to take a look at this.

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Post by avsfan »

OK!

Well, I was able to take a look at IZArc, and it seems to work very well, and handle the extended characters just great!

Here's the really interesting thing -- when I used IZArc to open up one of the archives I had created with the Info-Zip command-line product, the filenames were all correct! They also showed up correctly in WinZip (which I almost never use).

However, they still showed up incorrectly in 7-zip, info-zip, zipGenius, and AlZip -- but since IZArc and WinZip show the correct names, it's good to know that the info-zip compressor works properly!

Strange, indeed...

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Post by avsfan »

One follow-up question to those of you using extended characters: Could you please post what language of Windows you're using, and what the default codepage is? (i.e. open a command-prompt window and just type "chcp" and post what is reported?)

I'm guessing that the default codepage will be chosen appropriately based on the default Windows language... For example, US English uses codepage 437 by default (which doesn't seem to have any support for extended characters).

Just trying to figure out what's really going on here!

Thanks!

admin
Site Admin
Posts: 66074
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

avsfan wrote:One follow-up question to those of you using extended characters: Could you please post what language of Windows you're using, and what the default codepage is? (i.e. open a command-prompt window and just type "chcp" and post what is reported?)

I'm guessing that the default codepage will be chosen appropriately based on the default Windows language... For example, US English uses codepage 437 by default (which doesn't seem to have any support for extended characters).

Just trying to figure out what's really going on here!

Thanks!
Note that chcp in the command-prompt just displays the number of the active console code page.
Better use XY's hidden scripting command ::info to show you the active codepage. :wink:

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Post by avsfan »

Good to know!

That said, I'm still somewhat curious about the console code pages as well for the different languages... I'll give the ::info command a look, too!

Thanks!

Post Reply