From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22336 invoked by alias); 12 Oct 2018 03:18:13 -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 22321 invoked by uid 89); 12 Oct 2018 03:18:12 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_05,FREEMAIL_FROM,KAM_INFOUSMEBIZ,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=UD:htm, index.htm, UD:index.htm, indexhtm X-HELO: mail-io1-f43.google.com Received: from mail-io1-f43.google.com (HELO mail-io1-f43.google.com) (209.85.166.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 12 Oct 2018 03:18:11 +0000 Received: by mail-io1-f43.google.com with SMTP id l25-v6so8241136ioj.0 for ; Thu, 11 Oct 2018 20:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:subject:to:user-agent; bh=vnRPJubYu13F49SwWNgtvBII+GgaOOiLSYciSdZ4PXA=; b=jC4o0bHRrJ6rW2xegw7OeXubBv1h6Dr+JAkp115BnD6T15qil8q4asaDOizqGoItKG HMMu6YLknoMFepasw8XFo4FI4/iEX4ncYPmdtX7VVrHGtpZojpdAzKIvc5HcEd5bDJBH Ps8lMJLPg06zVZbd3gigsyGBhOst3qHE/wCRz8hizzsLTuKPAP4YgIYKoXbzYNmFeb/Z cCXYYAsG4l4zGdGgGxbszkxrsIlNI2wDHMlv0oCHe3UnwIYrTIutmSaNZela4GohMTu+ 1fC4x4MoN2K5Kz2X+42Darmr1E6n4n8jk1tCbFqVM6FuzWfvg8diF2x3RkSDkuAVd8Sd H58w== Return-Path: Received: from eDe ([2605:6000:9fc0:56:385a:608a:1fb6:f528]) by smtp.gmail.com with ESMTPSA id k5-v6sm88756ita.14.2018.10.11.20.18.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 20:18:08 -0700 (PDT) Message-ID: <5bc01270.1c69fb81.d7fc.08c8@mx.google.com> Date: Fri, 12 Oct 2018 03:18:00 -0000 From: Steven Penny Subject: Mintty fails to render 3 byte UTF-8 on Windows 7 To: cygwin@cygwin.com Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.8.0 (cup.github.io/tryst) X-SW-Source: 2018-10/txt/msg00099.txt.bz2 tested with Windows 7 and Windows 8.1. Test A ------ install: usr/share/fonts/noto/NotoSansMyanmar-Regular.ttf from: noto-myanmar-fonts Link font (need relog after): set 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink' reg add "$1" /t REG_MULTI_SZ /v Consolas /d NotoSansMyanmar-Regular.ttf test.txt: U+1000 MYANMAR LETTER KA [က] Set font for cmd.exe to Consolas and test: chcp 65001 type test.txt Test B ------ set font for mintty.exe to Consolas and test: chcp.com 65001 cat test.txt Results ------- Both tests pass with Windows 8.1. With Windows 7, only the cmd.exe test will pass. I am of the position that if cmd.exe passes on Windows 7, then mintty should as well. References ---------- - http://developer.microsoft.com/microsoft-edge/tools/vms - http://docs.microsoft.com/globalization/input/font-technology - http://fileformat.info/info/unicode/char/1000/index.htm -- 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