delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/14/03:55:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=YTIAJpRzQdB8UEbQ
mjT2dPk7oK2uWa6s+gU6b0HzjIyE1PENMNM3idgkTAo8Nk1kcADcNT/hb4AGkdXf
PgHCAaDjEDy4z6PCk6hTLs/ZnSW38SIEDk12HOvkAoBtt1U/HBht+V8yHhEWso8x
aM9jEHFr5Uc0z20KoOPiXVft+ik=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=TgLfG/BqLiAZJE5N6hWxyL
DOenY=; b=pkgNQVUh6zxKXV8UTNjLYwp16H4//DKDDxCeeoxwOgIRBFeD+QSCzU
4JLxJ9EPMLyn92WLoGtrwVUk68WJXuDeCFLuJ5VTJp4U1FOdQWVoj8N2IkHNlX9x
99BB6/DVn4vt33wiXTNNf8cw7ED7lERZyBziM4XT974hDWpDTjaE8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
Subject: Re: Need help with multibyte UTF-8 characters
To: cygwin AT cygwin DOT com
References: <626a3c06-e9f2-1932-f1f3-47ddb2051215 AT gmail DOT com> <b190e8bc-a60e-2a30-5caa-a2f67a0b91ce AT SystematicSw DOT ab DOT ca> <89a7d883-e3e5-42d7-2d22-020cdf6ccbdf AT towo DOT net> <8d811915-176f-c9f5-6500-364e494142f7 AT SystematicSw DOT ab DOT ca>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <5d68998a-b278-668f-c547-6bc341147205@towo.net>
Date: Thu, 14 Dec 2017 09:55:35 +0100
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>
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019