delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/15/10:20:16

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=QQva4hC3WJKF1qra
U0dgv6aIXdltRnKyZJBnzPaeyQMFqS6ejgndReN+Dosmmi/5yYbf+yMEeCzVPGKZ
8OOlNEvdYk0v7ob6EhuguHbOHthSoyKYiB/5hv0WWpiK9AL6//iLFpv5ViT0J5Hj
JrdkzhslrNM82wTzEWARIWaa3UM=
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=ee/lWW++KZMuDSsKksgyqA
gwU7c=; b=jUuZBUhFlgamR8u97C9AQJ1spOphxxIgARdBfsZpxwqeS97xXd7ExS
uRCpFCjNkl9KLgPlNsVIifsOYIu+FeJp+9M7aFib22C6ylXJvL4LU1rVucKk47Vs
1Z32Vk4CKemk4E/Kjtyrw0z7IDIxTTPOp2d3/gH//zHbq0S1YVhbY=
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=mintty, 15122017, 15.12.2017, filledin
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> <9d3b73ff-f596-51a2-909a-30a767e3e9b3 AT gmail DOT com> <1909177a-3f35-52d5-1717-9007d6efaa71 AT gmail DOT com> <fd791c61-e5ae-051d-c401-16e20274464c AT SystematicSw DOT ab DOT ca>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <cd19bd8b-d7da-4cb2-408f-9e6280c52cba@towo.net>
Date: Fri, 15 Dec 2017 16:19:58 +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: <fd791c61-e5ae-051d-c401-16e20274464c@SystematicSw.ab.ca>
X-UI-Out-Filterresults: notjunk:1;V01:K0:M8Bz/adoaa0=:SDWR3cWsxxwOs5qJn2hNP1 EoNeA9oHqaXFR+jn5I2cT2uPY6lBw8zff6N89JmN3/oRnef7Oe7hLKOsEQLNVnjk0jX+YMyyM 6lMvCv4GWZxYaMNnNwLKCETkSiq8Oy7yA3zhWrP1t58Gv3XLeR8uBurjt7JUwKL+UnhM18QRY SY26maGvhjSuJtu0PvA59Tr8RNUzEHAbI5l8ETadIvfU8GuHfNCjjP2suF4qNqNNTGJ4TBkkQ +A/So0cZvWnAib+AUdi8hovRIorjZbiETO1vWH4eonSqvgj/5D774Dci9QvNF/OQwomXmwYAi v/BOBIBlAplXJ8+e5yjkKriHC0BWQ75I2AS5gpIQCe3wzzk4b9il39K6RI8dwZn4F0Fi5QPgJ 7q+DQ+EofMgoO5kckzhX79ZMG9lSV022QYdWmFXpMxfHNnP3FHqSKwb9W2+rJ0K7OV1tfEPe2 c5lpf0h4zMumAF6cjPhxdUGh/ppiDDbdtC5j9kUAfYAcMlwY4sqVfFC1PxIpuqIPpdmWnl9sl tZvtDufIPcmklo/spyq8L8v+H0TIVO2z8u6G7VdY5ShLy6L2eDuJ3Albs/spRET2lVLfJgp8k AMSdxJ7BhBO1NGcPS46wqDh9NcFAS+VqrcqDQAz1S9nV5MOPsivIacd3G6ax99EXZp8jl+KD0 gw05B6AfvSUKgDQ0B8EdCAvhBMnOOaueO02Ig3Y576bU4EmKeJ62S3bmEGJMYOp5zBcofAgaM SJoe/QRz/PPJwy4iSGt/VHPaakGbtzoirQo3wBDC0ixzCMJ/p0QFwOlXdnA=
X-IsSubscribed: yes

Am 15.12.2017 um 01:32 schrieb Brian Inglis:
> On 2017-12-12 12:42, Thomas Taylor wrote:
>> I believe that Cygwin displays certain UTF-8 characters incorrectly.  To see the
>> problem, first save the attached "utf-8_test.sed" text file to your desktop.
>> Then run "mintty," and set its options by right clicking in its title bar,
>> selecting "Options" and then "Text."  On the Text page set "Locale" to "en_US"
>> and "Character set" to "UTF-8," and then "Save."  Now exit and restart mintty.
>> Change directory to your desktop and run the editor "vim" on the utf-8_test.sed
>> file.  Once inside vim do a ":set fileencoding=utf-8".  You should now see that
>> vim displays correctly a sample of one-, two-, and three-byte UTF-8 character
>> encodings in the test file.  Vim fails, however, on the three-byte encodings for
>> the "en" dash, the "em" dash, and the ellipsis, each of which displays
>> incorrectly as a filled-in rectangle.  Now exit vim and do a "less" or "cat" on
>> the utf-8_test.sed file.  You should see most of the sample UTF-8 encoded
>> characters displayed correctly, except once again for the en dash, em dash, and
>> ellipsis.  So it looks like a problem in the underlying Cygwin run-time
>> libraries rather than in vim, less, or cat.  I haven't tested this on four-byte
>> UTF-8 character encodings, but assume Cygwin will have similar problems.
> Like many others -- no problems visible -- all UTF-8 characters displayed
> correctly in gvim/X, vim, less, cat from mintty.
It seems nobody asked you so far which font you use. So please report that.

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