unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Re: Re: On Windows(R) Emacs «shell» mode doesn't prints an output.
Date: Thu, 25 Sep 2014 14:19:49 +0300	[thread overview]
Message-ID: <83zjdoueui.fsf@gnu.org> (raw)
In-Reply-To: <CAP_d_8XAPWSoM5Z85orKkbL=ZphYPsgStUTj-iTzWWDXMNcpEA@mail.gmail.com>

> Date: Thu, 25 Sep 2014 17:18:22 +0700
> From: Yuri Khan <yuri.v.khan@gmail.com>
> Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
> 
> And there was this comment thread[2] in the blog of Michael Kaplan,
> the guy who was Microsoft’s i18n expert, stating that the multibyte
> string API functions are only supported for (up to double)-byte
> encodings.
> 
> [2]: http://www.siao2.com/2006/07/04/656051.aspx#comment-7971

That's true, but you can work around that with wide (a.k.a. "Unicode")
APIs, such as WriteConsoleW.  Not easy, but its doable; you can find
the recipes and code on the Internet.

> > the only
> > problem with switching the console to that codepage is that the fonts
> > available for it in the console cover only a very small portion of the
> > BMP, so you don't really get a Unicode-capable console.
> 
> I was about to retort that setting a TrueType font with sufficient
> coverage (finding which can be left as an excercise to the reader)
> gets you at least Western, Cyrillic, Greek and CJK and possibly some
> more, but what do I know, compared to a user of a right-to-left
> script?

I think Western, Greek, and Cyrillic are covered, but CJK aren't, see
http://www.microsoft.com/typography/fonts/font.aspx?FMID=1262.  So its
coverage is mostly limited to European scripts.




  reply	other threads:[~2014-09-25 11:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24 20:07 On Windows(R) Emacs «shell» mode doesn't prints an output Hi-Angel
2014-09-25  7:43 ` Eli Zaretskii
2014-09-25  8:25   ` Yuri Khan
2014-09-25  8:44     ` Hi-Angel
2014-09-25  8:55     ` Eli Zaretskii
2014-09-25 10:18       ` Yuri Khan
2014-09-25 11:19         ` Eli Zaretskii [this message]
2014-09-25 12:16           ` Yuri Khan
2014-09-25 13:31             ` Eli Zaretskii
2014-09-25 15:44               ` Yuri Khan
2014-09-25 16:26                 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83zjdoueui.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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).