From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17091 invoked by alias); 15 Dec 2017 15:20:05 -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 17078 invoked by uid 89); 15 Dec 2017 15:20:05 -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=mintty, 15122017, 15.12.2017, filledin 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; Fri, 15 Dec 2017 15:20:03 +0000 Received: from [192.168.178.45] ([95.91.246.210]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPSA (Nemesis) id 0M9Xix-1eJVS33t9z-00CxuP for ; Fri, 15 Dec 2017 16:20:00 +0100 Subject: Re: Need help with multibyte UTF-8 characters To: cygwin@cygwin.com References: <626a3c06-e9f2-1932-f1f3-47ddb2051215@gmail.com> <9d3b73ff-f596-51a2-909a-30a767e3e9b3@gmail.com> <1909177a-3f35-52d5-1717-9007d6efaa71@gmail.com> From: Thomas Wolff Message-ID: Date: Sat, 16 Dec 2017 01:50: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: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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 X-SW-Source: 2017-12/txt/msg00150.txt.bz2 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