fragglet / lhasa

Free Software LHA implementation
http://fragglet.github.io/lhasa/
ISC License
80 stars 15 forks source link

Fails to extract if filenames contains non ascii characters #52

Open selganor74 opened 7 months ago

selganor74 commented 7 months ago

I'm installing the amiga-gcc cross complier from https://github.com/bebbo/amiga-gcc . The make all-sdk step fails when extracting the file ReqToolsDev.lha downloaded by the build process.

An lha -t ReqToolsDev.lha seems to give correct results:

ReqTools.info   - Tested   :  o
ReqTools/.Product-Info  - Tested   :  o
ReqTools/Catalogs/libcat/dansk.ct   - Tested   :  o
ReqTools/Catalogs/libcat/deutsch.ct - Tested   :  o
ReqTools/Catalogs/libcat/espa?ol.ct - Tested   :  o
ReqTools/Catalogs/libcat/fran?ais.ct    - Tested   :  o
ReqTools/Catalogs/libcat/italiano.ct    - Tested   :  o
ReqTools/Catalogs/libcat/magyar.ct  - Tested   :  o
ReqTools/Catalogs/libcat/nederlands.ct  - Tested   :  o
ReqTools/Catalogs/libcat/norsk.ct   - Tested   :  o
ReqTools/Catalogs/libcat/polski.ct  - Tested   :  o
ReqTools/Catalogs/libcat/portugu?s.ct   - Tested   :  o
ReqTools/Catalogs/libcat/reqtools.cd    - Tested   :  o
ReqTools/Catalogs/libcat/russian.ct - Tested   :  o
ReqTools/Catalogs/libcat/srpski.ct  - Tested   :  o
ReqTools/Catalogs/libcat/suomi.ct   - Tested   :  o
ReqTools/Catalogs/libcat/svenska.ct - Tested   :  o
ReqTools/Catalogs/libcat/?e?tina.ct - Tested   :  o
ReqTools/Catalogs/prefscat/dansk.ct - Tested   :  o
ReqTools/Catalogs/prefscat/deutsch.ct   - Tested   :  o
ReqTools/Catalogs/prefscat/espa?ol.ct   - Tested   :  o
ReqTools/Catalogs/prefscat/fran?ais.ct  - Tested   :  o
ReqTools/Catalogs/prefscat/italiano.ct  - Tested   :  o
ReqTools/Catalogs/prefscat/magyar.ct    - Tested   :  o
ReqTools/Catalogs/prefscat/nederlands.ct    - Tested   :  o
ReqTools/Catalogs/prefscat/norsk.ct - Tested   :  o
ReqTools/Catalogs/prefscat/polski.ct    - Tested   :  o
ReqTools/Catalogs/prefscat/portugu?s.ct - Tested   :  o
ReqTools/Catalogs/prefscat/reqtoolsprefs.cd - Tested   :  o
ReqTools/Catalogs/prefscat/russian.ct   - Tested   :  o
ReqTools/Catalogs/prefscat/srpski.ct    - Tested   :  o
ReqTools/Catalogs/prefscat/suomi.ct - Tested   :  o
ReqTools/Catalogs/prefscat/svenska.ct   - Tested   :  o
ReqTools/Catalogs/prefscat/?e?tina.ct   - Tested   :  o
ReqTools/Catalogs/README    - Tested   :  o
ReqTools/demo/demo.asm  - Tested   :  ooo
ReqTools/demo/demo.c    - Tested   :  oo
ReqTools/demo/demo.e    - Tested   :  oo
ReqTools/demo/makefile  - Tested   :  o
ReqTools/doc/reqtools.doc   - Tested   :  ooooooooo
ReqTools/doc/windowptr.readme   - Tested   :  o
ReqTools/fd/reqtools_lib.fd - Tested   :  o
ReqTools/Glue/Dice/DLibSource.lha   - Tested   :  oo
ReqTools/Glue/Dice/README   - Tested   :  o
ReqTools/Glue/Dice/reqtools_protos.h    - Tested   :  o
ReqTools/Glue/Dice/reqtoolsl.lib    - Tested   :  o
ReqTools/Glue/Dice/reqtoolsrl.lib   - Tested   :  o
ReqTools/Glue/Dice/reqtoolss.lib    - Tested   :  o
ReqTools/Glue/Dice/reqtoolssr.lib   - Tested   :  o
ReqTools/Glue/GCC/gcc_glue.lha  - Tested   :  oooooooooooo
ReqTools/Glue/GCC/README    - Tested   :  o
ReqTools/Glue/HSPascal.1/hs_glue1.lha   - Tested   :  oooo
ReqTools/Glue/HSPascal.1/README - Tested   :  o
ReqTools/Glue/HSPascal.2/hs_glue2.lha   - Tested   :  ooooooooooooooo
ReqTools/Glue/HSPascal.2/README - Tested   :  o
ReqTools/Glue/M2Amiga/m2amiga_glue.lha  - Tested   :  ooooooooo
ReqTools/Glue/M2Amiga/README    - Tested   :  o
ReqTools/Glue/M2Sprint/m2sprint_glue.lha    - Tested   :  oooooooooooooo
ReqTools/Glue/M2Sprint/README   - Tested   :  o
ReqTools/Glue/Manx-C/README.src - Tested   :  o
ReqTools/Glue/Manx-C/reqtools.lib   - Tested   :  o
ReqTools/Glue/Manx-C/reqtoolsnb.lib - Tested   :  o
ReqTools/Glue/MaxonPascal/README    - Tested   :  o
ReqTools/Glue/MaxonPascal/RT-MaxonPAS.lha   - Tested   :  oooooooooooooooo
ReqTools/Glue/Oberon/oberon_glue.lha    - Tested   :  ooooo
ReqTools/Glue/Oberon/README - Tested   :  o
ReqTools/Glue/PCQ/pcq_glue.lha  - Tested   :  oooooooooo
ReqTools/Glue/PCQ/README    - Tested   :  o
ReqTools/Glue/SAS-C/LibSource.lha   - Tested   :  ooooo
ReqTools/Glue/SAS-C/reqtools.lib    - Tested   :  o
ReqTools/Glue/SAS-C/reqtoolsnb.lib  - Tested   :  o
ReqTools/include/clib/reqtools_protos.h - Tested   :  o
ReqTools/include/libraries/reqtools.h   - Tested   :  ooo
ReqTools/include/libraries/reqtools.i   - Tested   :  ooo
ReqTools/include/libraries/reqtools_lib.i   - Tested   :  o
ReqTools/include/pragmas/reqtools_pragmas.h - Tested   :  o
ReqTools/include/proto/reqtools.h   - Tested   :  o
ReqTools/ReqTools.guide - Tested   :  ooooooo
ReqTools/ReqTools.guide.info    - Tested   :  o
ReqTools/ReqToolsDev.readme - Tested   :  o

but when extracting I obtain this:

$ lha -xw=build/reqtools/ download/ReqToolsDev.lha 
build/reqtools//ReqTools.info   - Melted   :  o
build/reqtools//ReqTools/.Product-Info  - Melted   :  o
build/reqtools//ReqTools/Catalogs/libcat/dansk.ct   - Melted   :  o
build/reqtools//ReqTools/Catalogs/libcat/deutsch.ct - Melted   :  o
Failed to read file type of 'build/reqtools//ReqTools/Catalogs/libcat/espa�ol.ct'
fragglet commented 7 months ago

What version of Lhasa please? Run lha with no arguments and it should say.

And which OS too?

polluks commented 7 months ago

Here current lhasa works but looks weird (WSL's ext4)


$ ls -l ReqTools/Catalogs/libcat
total 64
-rw------- 1 stefan stefan 2073 Apr 24  1996  dansk.ct
-rw------- 1 stefan stefan 1975 Apr 24  1996  deutsch.ct
-rw------- 1 stefan stefan 1965 Apr 24  1996 'espa'$'\357\277\275''ol.ct'
-rw------- 1 stefan stefan 2347 Apr 24  1996 'fran'$'\357\277\275''ais.ct'
-rw------- 1 stefan stefan 1743 Apr 24  1996  italiano.ct
-rw------- 1 stefan stefan 2658 Apr 24  1996  magyar.ct
-rw------- 1 stefan stefan 1811 Feb 18  1996  nederlands.ct
-rw------- 1 stefan stefan 1921 Feb 20  1997  norsk.ct
-rw------- 1 stefan stefan 2366 Apr 24  1996  polski.ct
-rw------- 1 stefan stefan 2125 Apr 24  1996 'portugu'$'\357\277\275''s.ct'
-rw------- 1 stefan stefan 2074 Apr 24  1996  reqtools.cd
-rw------- 1 stefan stefan 2050 Jan 26  1997  russian.ct
-rw------- 1 stefan stefan 1990 Jan  5  1997  srpski.ct
-rw------- 1 stefan stefan 1942 Jan 15  1997  suomi.ct
-rw------- 1 stefan stefan 1994 Apr 24  1996  svenska.ct
-rw------- 1 stefan stefan 1678 Dec 16  1996 ''$'\357\277\275''e'$'\357\277\275''tina.ct'
selganor74 commented 7 months ago

I'm using the package distributed with ubuntu mantic

$ lha Lhasa v0.4.0 command line LHA tool - Copyright (C) 2011,2012 Simon Howard

$ dpkg --list | grep lha ii lhasa 0.4.0-1 amd64 lzh archive decompressor ii liblhasa0:amd64 0.4.0-1 amd64 lzh archive decompression library

Il giorno gio 21 dic 2023 alle ore 23:04 Simon Howard < @.***> ha scritto:

What version of Lhasa please? Run lha with no arguments and it should say.

— Reply to this email directly, view it on GitHub https://github.com/fragglet/lhasa/issues/52#issuecomment-1866987277, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVWRXPUAO76UM4K23XWNQDYKSW6RAVCNFSM6AAAAABA676NF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRWHE4DOMRXG4 . You are receiving this because you authored the thread.Message ID: @.***>

selganor74 commented 7 months ago

I've also tried by building the source code from this repository (version 0.4.0 ... did I get it right?) but same results

$ git clone https://github.com/fragglet/lhasa.git Cloning into 'lhasa'... remote: Enumerating objects: 5022, done. remote: Counting objects: 100% (1040/1040), done. remote: Compressing objects: 100% (217/217), done. remote: Total 5022 (delta 775), reused 1027 (delta 771), pack-reused 3982 Receiving objects: 100% (5022/5022), 3.67 MiB | 248.00 KiB/s, done. Resolving deltas: 100% (3301/3301), done. @.:~/develop$ cd lhasa/ @.:~/develop/lhasa$ autoreconf --install libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autotools'. libtoolize: copying file 'autotools/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:5: installing 'autotools/compile' configure.ac:5: installing 'autotools/config.guess' configure.ac:5: installing 'autotools/config.sub' configure.ac:4: installing 'autotools/install-sh' configure.ac:4: installing 'autotools/missing' Makefile.am: installing './INSTALL' lib/Makefile.am: installing 'autotools/depcomp' parallel-tests: installing 'autotools/test-driver' @.***:~/develop/lhasa$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether make supports nested variables... (cached) yes checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether make sets $(MAKE)... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating liblhasa.pc config.status: creating rpm.spec config.status: creating Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating lib/public/Makefile config.status: creating pkg/Makefile config.status: creating pkg/config.make config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands

$ make make all-recursive make[1]: Entering directory '/home/administrator/develop/lhasa' Making all in doc make[2]: Entering directory '/home/administrator/develop/lhasa/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/administrator/develop/lhasa/doc' Making all in lib make[2]: Entering directory '/home/administrator/develop/lhasa/lib' Making all in public make[3]: Entering directory '/home/administrator/develop/lhasa/lib/public' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/administrator/develop/lhasa/lib/public' make[3]: Entering directory '/home/administrator/develop/lhasa/lib' CC liblhasa_la-crc16.lo CC liblhasa_la-ext_header.lo CC liblhasa_la-lha_arch_unix.lo CC liblhasa_la-lha_arch_win32.lo CC liblhasa_la-lha_decoder.lo CC liblhasa_la-lha_endian.lo CC liblhasa_la-lha_file_header.lo CC liblhasa_la-lha_input_stream.lo CC liblhasa_la-lha_basic_reader.lo CC liblhasa_la-lha_reader.lo CC liblhasa_la-macbinary.lo CC liblhasa_la-null_decoder.lo CC liblhasa_la-lh1_decoder.lo CC liblhasa_la-lh5_decoder.lo CC liblhasa_la-lh6_decoder.lo CC liblhasa_la-lh7_decoder.lo CC liblhasa_la-lhx_decoder.lo CC liblhasa_la-lk7_decoder.lo CC liblhasa_la-lz5_decoder.lo CC liblhasa_la-lzs_decoder.lo CC liblhasa_la-pm1_decoder.lo CC liblhasa_la-pm2_decoder.lo CCLD liblhasa.la make[3]: Leaving directory '/home/administrator/develop/lhasa/lib' make[2]: Leaving directory '/home/administrator/develop/lhasa/lib' Making all in pkg make[2]: Entering directory '/home/administrator/develop/lhasa/pkg' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/administrator/develop/lhasa/pkg' Making all in src make[2]: Entering directory '/home/administrator/develop/lhasa/src' CC lha-main.o CC lha-filter.o CC lha-list.o CC lha-extract.o CC lha-safe.o CCLD lha make[2]: Leaving directory '/home/administrator/develop/lhasa/src' Making all in test make[2]: Entering directory '/home/administrator/develop/lhasa/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/administrator/develop/lhasa/test' make[2]: Entering directory '/home/administrator/develop/lhasa' make[2]: Leaving directory '/home/administrator/develop/lhasa' make[1]: Leaving directory '/home/administrator/develop/lhasa'

$ sudo make install Making install in doc make[1]: Entering directory '/home/administrator/develop/lhasa/doc' make[2]: Entering directory '/home/administrator/develop/lhasa/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/local/share/man/man1' /usr/bin/install -c -m 644 lha.1 '/usr/local/share/man/man1' make[2]: Leaving directory '/home/administrator/develop/lhasa/doc' make[1]: Leaving directory '/home/administrator/develop/lhasa/doc' Making install in lib make[1]: Entering directory '/home/administrator/develop/lhasa/lib' Making install in public make[2]: Entering directory '/home/administrator/develop/lhasa/lib/public' make[3]: Entering directory '/home/administrator/develop/lhasa/lib/public' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/local/include/liblhasa-1.0' /usr/bin/install -c -m 644 lhasa.h lha_decoder.h lha_file_header.h lha_input_stream.h lha_reader.h '/usr/local/include/liblhasa-1.0' make[3]: Leaving directory '/home/administrator/develop/lhasa/lib/public' make[2]: Leaving directory '/home/administrator/develop/lhasa/lib/public' make[2]: Entering directory '/home/administrator/develop/lhasa/lib' make[3]: Entering directory '/home/administrator/develop/lhasa/lib' /usr/bin/mkdir -p '/usr/local/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c liblhasa.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/liblhasa.so.0.0.0 /usr/local/lib/liblhasa.so.0.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f liblhasa.so.0.0.0 liblhasa.so.0 || { rm -f liblhasa.so.0 && ln -s liblhasa.so.0.0.0 liblhasa.so.0; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f liblhasa.so.0.0.0 liblhasa.so || { rm -f liblhasa.so && ln -s liblhasa.so.0.0.0 liblhasa.so; }; }) libtool: install: /usr/bin/install -c .libs/liblhasa.lai /usr/local/lib/ liblhasa.la libtool: install: /usr/bin/install -c .libs/liblhasa.a /usr/local/lib/liblhasa.a libtool: install: chmod 644 /usr/local/lib/liblhasa.a libtool: install: ranlib /usr/local/lib/liblhasa.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib

Libraries have been installed in: /usr/local/lib

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following:

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.

make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/administrator/develop/lhasa/lib' make[2]: Leaving directory '/home/administrator/develop/lhasa/lib' make[1]: Leaving directory '/home/administrator/develop/lhasa/lib' Making install in pkg make[1]: Entering directory '/home/administrator/develop/lhasa/pkg' make[2]: Entering directory '/home/administrator/develop/lhasa/pkg' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/administrator/develop/lhasa/pkg' make[1]: Leaving directory '/home/administrator/develop/lhasa/pkg' Making install in src make[1]: Entering directory '/home/administrator/develop/lhasa/src' make[2]: Entering directory '/home/administrator/develop/lhasa/src' /usr/bin/mkdir -p '/usr/local/bin' /bin/bash ../libtool --mode=install /usr/bin/install -c lha '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/lha /usr/local/bin/lha make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/administrator/develop/lhasa/src' make[1]: Leaving directory '/home/administrator/develop/lhasa/src' Making install in test make[1]: Entering directory '/home/administrator/develop/lhasa/test' make[2]: Entering directory '/home/administrator/develop/lhasa/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/administrator/develop/lhasa/test' make[1]: Leaving directory '/home/administrator/develop/lhasa/test' make[1]: Entering directory '/home/administrator/develop/lhasa' make[2]: Entering directory '/home/administrator/develop/lhasa' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 liblhasa.pc '/usr/local/lib/pkgconfig' make[2]: Leaving directory '/home/administrator/develop/lhasa' make[1]: Leaving directory '/home/administrator/develop/lhasa'

$ cd ~/amiga-gcc

Just to make sure I'm using the previously built version:

$ which lha /usr/local/bin/lha

But same result

$ lha -xw=build/reqtools/ download/ReqToolsDev.lha build/reqtools//ReqTools.info - Melted : o build/reqtools//ReqTools/.Product-Info - Melted : o build/reqtools//ReqTools/Catalogs/libcat/dansk.ct - Melted : o build/reqtools//ReqTools/Catalogs/libcat/deutsch.ct - Melted : o Failed to read file type of 'build/reqtools//ReqTools/Catalogs/libcat/espa�ol.ct'

Il giorno sab 23 dic 2023 alle ore 22:22 Gabriele Rossetti < @.***> ha scritto:

I'm using the package distributed with ubuntu mantic

$ lha Lhasa v0.4.0 command line LHA tool - Copyright (C) 2011,2012 Simon Howard

$ dpkg --list | grep lha ii lhasa 0.4.0-1 amd64 lzh archive decompressor ii liblhasa0:amd64 0.4.0-1 amd64 lzh archive decompression library

Il giorno gio 21 dic 2023 alle ore 23:04 Simon Howard < @.***> ha scritto:

What version of Lhasa please? Run lha with no arguments and it should say.

— Reply to this email directly, view it on GitHub https://github.com/fragglet/lhasa/issues/52#issuecomment-1866987277, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVWRXPUAO76UM4K23XWNQDYKSW6RAVCNFSM6AAAAABA676NF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRWHE4DOMRXG4 . You are receiving this because you authored the thread.Message ID: @.***>

polluks commented 7 months ago

@selganor74 Better attach the log next time.

By the way if an archive has Amiga permissions should we assume latin1 encoding..? Because an Amiga never supports Unicode.

FYI https://github.com/jca02266/lha#filename-encoding-in-the-archive and https://github.com/jca02266/lha/issues/42.