delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/14/11:14:17

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:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=ZTi2i0RJiZo5rXi8
WDupeYzVqAY1tFkIJ1/GWmdO5jzmKq7uzhBbd6MPGbOBKVJDPLSZlXXwvLiDjpyn
EzUwloA5CKfP2/nZPADdMqFOGI4GxPlL84avZzIFzZVY4WS1NVqW+NotEOvJgqrp
J6nTTDYQ0ANFS00CMuLZ6eTLj1s=
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:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=35ZSyUMtWSh4YOswe9C2BP
Nz9h0=; b=KcPtb7TqBcQmH+pRrpZwRa0H+yINz2M6GEP/r27YDaAcbQ4Sl+RE7L
gEdBw+G+iW+5rFNjzSPQp60qjsvpJN67UBxTTMap5B6H+ybrZRm9sQlzt2jlPw+o
gzxntsjcq3sBYQ3jUB+n6aWH1Em7jo+i0WRgExlBQ2y9BkCKcgYMY=
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=2.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,LIKELY_SPAM_SUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=Wolff, regional, wolff, mintty
X-HELO: mail-it0-f49.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:reply-to:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=MTR/TdtYIddi+YTP7IBWciw2GeS0BTwmJRLLpZCvAkU=; b=eyIWYeSiJj/6HOy4yq7RTvASv1TKM3Bfo5mMSTpeK8Qt/noF8Ov6NUU5crzzd3Fdj3 imOa4zbNZSzjV/5ytUoHBP2gGEeYc+tFXCCZNqy11RDPT2seLDGjLBQGLwbMWkjRrJT3 e52jJquXZ6Nx8iSVwSRg7ANyQyKZynvV5sfQewCEhkAF7wgMliB+p4X5cSKX6/mnv96l /fo3O1Xw8N7LQTgGanCz1GHJQ+Y9sLvYPa39DrjD/y9N9y6QzSYw9bwtP8+eb0q367Bf /3LFFeyhKjUw5U6IouubiLCu3cApygtRQY1tYwQZxSnYyWr6ofaMRTU6gsZLiYZfPz2z HvEw==
X-Gm-Message-State: AKGB3mLRzvC9X3RmdsNSWEgEPT0OO7GmebprfhhG8cm/EHHxVJPoaiYQ UgY7LnfloidTivgsvhsVYHa/cg==
X-Google-Smtp-Source: ACJfBouW2Knxbu3U9fDdI4r0RrVZWRflVsgEOYTr4iZYCY8AzF+QvuE7ptVQSSD9cI8A/T4EGibPbQ==
X-Received: by 10.107.181.147 with SMTP id e141mr7745691iof.117.1513268034595; Thu, 14 Dec 2017 08:13:54 -0800 (PST)
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>
Reply-To: cygwin AT cygwin DOT com
From: cyg Simple <cygsimple AT gmail DOT com>
Message-ID: <99c5d791-17fb-3fce-266b-99bc4b4dd92b@gmail.com>
Date: Thu, 14 Dec 2017 11:13:55 -0500
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-IsSubscribed: yes

On 12/13/2017 11:40 PM, Brian Inglis wrote:
> 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.
> 
> 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.
> 

For my working environment I need Cygwin and Windows to be different.  I
have other requirements for en_US.UTF-8 within the Windows environment.
I use Netbeans IDE and it allows me to set the locale per project.  It
doesn't matter what the OS level states; that is just the default.

-- 
cyg Simple

--
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