From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86912 invoked by alias); 14 Dec 2017 08:55:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 85803 invoked by uid 89); 14 Dec 2017 08:55:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,LIKELY_SPAM_SUBJECT,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=Wolff, wolff, mintty, regional X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.17.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Dec 2017 08:55:39 +0000 Received: from [192.168.178.45] ([95.91.246.210]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.183]) with ESMTPSA (Nemesis) id 0LxfEh-1f54wF3G7X-017HRh for ; Thu, 14 Dec 2017 09:55:36 +0100 Subject: Re: Need help with multibyte UTF-8 characters To: cygwin@cygwin.com References: <626a3c06-e9f2-1932-f1f3-47ddb2051215@gmail.com> <89a7d883-e3e5-42d7-2d22-020cdf6ccbdf@towo.net> <8d811915-176f-c9f5-6500-364e494142f7@SystematicSw.ab.ca> From: Thomas Wolff Message-ID: <5d68998a-b278-668f-c547-6bc341147205@towo.net> Date: Thu, 14 Dec 2017 16:21:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <8d811915-176f-c9f5-6500-364e494142f7@SystematicSw.ab.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:zizr7uNw8r0=:oY+C71v9u6+N39ar1/ugat +MoQHAeO4bpDKbmDnGikOh2B0y4wr4LjEKi4xMzJczsyk8zJzv2C7LthBKlApnqe2MBbuHRc8 zPRvPaR1VcuzzhKLUkym3hogxi2L6ImWF7H9ho35/IGWMCQwvGFWJK+HmMjRBcLloWR59fWYM RVTWxCp3DRBZnr66nuPIgZrKBrMFnlCCxvce8lPc6VWPeKEHrMIe4+zHnW9XmRmS3ZBxrjbCF UeVVOMMWWmi4TIdgkc/e7hki89228M+REITpC8/iLkNtCe/5MHl44fzcywef39zATrYxa7xS6 OziBOJKQnhP0VCjPUSd+x0YUUlxBdiAYVSJzCvxJaqeVwYBZgj8o5hAvICMMHhWi4zZZcjeCu 0MMrJzzfvJz7n8yhv03XYE0mwKkjmvJMSU4NCXAgH5M9iDzXvcA1ZJhpyt9ufr12nVUad3ZDx kfuNSc8Fwg1SaCWIWmF1SMLevWdNgcGRVgCvL3H9jO+z3t/5iiB4qej60vUHcVGUP+VSSchfd JJTHlLTfsLGdkephCp8BTAehI/kZ/cYNJ8vLASMgYru6rjuSXfJyq1pA2sjnicM4p/CN0W5Ol tdf5A9Uzg4n/cfTyenHDuxeLgp7b31cvQR053/M4A3JDIo4SE2R2UmfVc6F58zxF0SLfdzPkL laRoV2yIsa8XxDa7C+T5DJ1jr5DVjzDOwYzSQUwVpufFsEQG1+/1MkhVpo/rOxuqxoKVrk+7a /DSQKjS1iLzmP0W0hLT1uIJRy4EB9d6DaFncPyW9Gh7g90sjzKYvxD21sFg= X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00134.txt.bz2 Am 14.12.2017 um 05:40 schrieb Brian Inglis: > On 2017-12-13 00:50, Thomas Wolff wrote: >> Am 13.12.2017 um 06:21 schrieb Brian Inglis: >>> On 2017-12-04 18:23, Thomas Taylor wrote: >>> Your Windows Regional settings and your mintty/Options/Text/Language and >>> Character Set should be set to match. >>> The profile commands below set Cygwin locale to your Windows Regional settings >>> and charset to UTF-8, or Unix locale to your system locale. >>> Otherwise your system or mintty is going to be doing conversions on each >>> character. >> I am not aware that mintty character display and Windows regional settings would >> interfere in any way you indicated. >> Can you elaborate on this please? > Maybe I'm just too optimistic that software will DTRT to ensure that output is > faithfully passed thru, or converted for the next layer of software, if it has > different settings. > I set all of my locales the same so characters should pass thru transparently > and I can see output faithfully rendered, given adequate font configurations. Mintty interfaces to Windows using the Unicode/UTF-16 API, so there is no dependency on the Windows system locale. I assume the original poster's problem is a font issue, unless a test case would demonstrate anything else. Thomas > What happens when your system, terminal, and shell locales and charsets differ? > Either some component/-s has/have to do conversion to provide readable output, > which is my expectation given the requirement to specify locales and charsets, > or you could end up with garbled output if nothing is doing any conversion. > Does one override others to pass thru readable output, does conversion occur, or > do you just see junk in some or all cases when locales and charsets differ? > > I am ignoring here the effect on text content, input and output formatting of > selecting languages, territories, and scripts. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple