From owner-freebsd-questions@freebsd.org Wed May 27 18:47:16 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 63BCF2CBB2B for ; Wed, 27 May 2020 18:47:16 +0000 (UTC) (envelope-from thor@irk.ru) Received: from mail.irk.ru (relay2.dsi.ru [195.206.40.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49XKZB75Q0z3fS3 for ; Wed, 27 May 2020 18:47:14 +0000 (UTC) (envelope-from thor@irk.ru) Received: from [194.176.114.54] (helo=[192.168.1.130]) by mail.irk.ru with esmtpa (Exim 4.86 (FreeBSD)) (envelope-from ) id 1je156-0007lg-Ce for freebsd-questions@freebsd.org; Thu, 28 May 2020 02:47:12 +0800 Subject: Re: 7ZIP Windows question To: freebsd-questions@freebsd.org References: <56263fa6-a3fc-ffbb-9f78-732e69b94b8d@irk.ru> From: Thor Ablestar Message-ID: <0f6b1d6d-02ea-5c6e-1c11-8fb8211897c1@irk.ru> Date: Thu, 28 May 2020 02:47:11 +0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 49XKZB75Q0z3fS3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=irk.ru; spf=pass (mx1.freebsd.org: domain of thor@irk.ru designates 195.206.40.175 as permitted sender) smtp.mailfrom=thor@irk.ru X-Spamd-Result: default: False [-2.11 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.79)[-0.786]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.962]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.44)[0.440]; DMARC_POLICY_ALLOW(-0.50)[irk.ru,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8345, ipnet:195.206.32.0/19, country:RU]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2020 18:47:16 -0000 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"