public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Steven Penny <svnpenn@gmail.com>
To: cygwin@cygwin.com
Subject: Mintty fails to render 3 byte UTF-8 on Windows 7
Date: Fri, 12 Oct 2018 03:18:00 -0000	[thread overview]
Message-ID: <5bc01270.1c69fb81.d7fc.08c8@mx.google.com> (raw)

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

             reply	other threads:[~2018-10-12  3:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-12  3:18 Steven Penny [this message]
2018-10-12  7:18 ` L A Walsh
2018-10-12  9:51 ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5bc01270.1c69fb81.d7fc.08c8@mx.google.com \
    --to=svnpenn@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).