Date: Thu, 28 May 2020 02:47:11 +0800 From: Thor Ablestar <thor@irk.ru> To: freebsd-questions@freebsd.org Subject: Re: 7ZIP Windows question Message-ID: <0f6b1d6d-02ea-5c6e-1c11-8fb8211897c1@irk.ru> In-Reply-To: <c2d127e5-a7aa-0b9a-66c0-14c1922b0340@fastmail.com> References: <56263fa6-a3fc-ffbb-9f78-732e69b94b8d@irk.ru> <c2d127e5-a7aa-0b9a-66c0-14c1922b0340@fastmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0f6b1d6d-02ea-5c6e-1c11-8fb8211897c1>
