7ZIP Windows question

Thor Ablestar thor at irk.ru
Wed May 27 18:47:16 UTC 2020


1. ru_RU.UTF-8. p7zip just does NOT work without it.

2. -scs key does NOT affect files. It only changes the listing.

All files except the ones with too long names are extracted _normally_. 
So it's not the problem with locales.


On 2020-05-28 02:01, Yuri Pankov wrote:
> Thor Ablestar wrote:
>> Hello All!
>>
>> Problem is the following: Somebody sent to me the archive with files 
>> with Russian names in 7Z format. I used the p7zip from both ports and 
>> packages to extract it. Result was the same: Some files were not 
>> extracted with diagnostic "Too long filename".
>>
>> It was necessary to transfer the archive to Windows machine, extract 
>> the files there, then rename them, pack again and transfer back.
>>
>> Is there any method to do it within FreeBSD or at least without 
>> abominable Windows?
>>
>> 12.1-RELEASE AMD064
>
> What encoding is used for those "russian" names? What is your system 
> locale?
>
> Also, did you try the following switch for 7?
>
> -scs{UTF-8|UTF-16LE|UTF-16BE|WIN|DOS|{id}} : set charset for list files
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list