From owner-freebsd-questions@freebsd.org Wed May 27 18:08:20 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 EE9A62CA17C for ; Wed, 27 May 2020 18:08:20 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 49XJjJ2ycjz3ZWy for ; Wed, 27 May 2020 18:08:20 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8BFD45C01DB; Wed, 27 May 2020 14:01:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 27 May 2020 14:01:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=u se2CPXF6sauPtIQaM3Rx89nJ+l1tv5CGCJZ0rGDQwc=; b=BBdk3ZIei2+u5Ju1J B0xCT88vK1mYr0Qs4H7l2rpDSeQyzQio9Y8RmmiEDUZa3QfrxyqJU8JtBBBR6WY4 p9T/OPaHSm1EmIrZmTZLfvrLNlYNTlhhR5uvUL/gD1agEW3d7dkUoK12/vqqq1pj 1qqd63Hgml3SMdvJHk4brTiuWKg9OHmvzNl7/ln/yupHCLFd7eNO6x+xDgvw76S5 ROuOb7Z6OdqQs5hrfIhY5Jgxa6mOaPfzE+v6Wmv9HZbkAv9jWKFm58M7MzxYQURJ t67sHzSKIk2p/LhH70KIHZ+QbU5pkcrw1ue7KtkY8jTTyHWquZ64AfO37nLLEjCW XGCbw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=use2CPXF6sauPtIQaM3Rx89nJ+l1tv5CGCJZ0rGDQ wc=; b=a4BBOvN/iNctq4VaTquRDaV3QcDkK15slKtc24N0oWWoNxI4GF9pbK8JN 61O4Mi2q+rURyS2Sj/kVMe2OHw9qe9ZNinsHLT95J+Idbq3kyEUr/bRJsL+PZekn eu9AUDDZBMuXGio711BBh7gmdls2YiVzGXhuAgsl4aGEXIx7vx2bKuJh/H1pGDim jgbPIPOnG3nXPios19r0Cl5BgxJkccaMNWtsLm5Ne/SZMIWrD8zV78m5Bh3OQpuh CPBtNbF9ztr/hoe8LUdxPus7W/Eq7jB2WHzu3tJGB/1Us3iRVHQOAAkpfSXk+wrL 01PeAWnOddPCE9iNqiYu0LtK/MTWg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvgedguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpegjuhhr ihcurfgrnhhkohhvuceohihprghnkhhovhesfhgrshhtmhgrihhlrdgtohhmqeenucggtf frrghtthgvrhhnpeevteeilefghfffgeffteefiedttdfgudetgeduvddtgffguefftdei teelhfegteenucfkphepledurddvgedtrdduvdegrddufeeknecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephihprghnkhhovhesfhgrshhtmhgr ihhlrdgtohhm X-ME-Proxy: Received: from [192.168.1.6] (unknown [91.240.124.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 7E924328005A; Wed, 27 May 2020 14:01:20 -0400 (EDT) Subject: Re: 7ZIP Windows question To: Thor Ablestar , freebsd-questions@freebsd.org References: <56263fa6-a3fc-ffbb-9f78-732e69b94b8d@irk.ru> From: Yuri Pankov Message-ID: Date: Wed, 27 May 2020 21:01:18 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <56263fa6-a3fc-ffbb-9f78-732e69b94b8d@irk.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49XJjJ2ycjz3ZWy X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.com header.s=fm3 header.b=BBdk3ZIe; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=a4BBOvN/; dmarc=pass (policy=none) header.from=fastmail.com; spf=pass (mx1.freebsd.org: domain of ypankov@fastmail.com designates 66.111.4.29 as permitted sender) smtp.mailfrom=ypankov@fastmail.com X-Spamd-Result: default: False [5.02 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:66.111.4.29:c]; FREEMAIL_FROM(0.00)[fastmail.com]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.29:from]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[fastmail.com:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[fastmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[fastmail.com]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[91.240.124.138:received]; R_DKIM_ALLOW(0.00)[fastmail.com:s=fm3,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-0.50)[-0.503]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.43)[0.427]; MIME_GOOD(-0.10)[text/plain]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.19)[0.194]; GREYLIST(0.00)[pass,body] 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:08:21 -0000 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