9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] missing Greek letters in p9p troff
Date: Fri,  4 Feb 2011 15:44:25 -0500	[thread overview]
Message-ID: <AANLkTin2RYtRhk518u8NNmidzVjq7LiyYL-dtp=kwzcy@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=ALyGeOe7Nfut3xFpGXvxw33eRJ43WeqtNZ6TL@mail.gmail.com>

> now I know a bit more. 9 eqn seems to throw away my Greek letters for
> some reason. Having a file with contents:
>
> .EQ
> aαb
> .EN

Fixed.

Eqn was using the proposed standard functions mbtowc and wctomb
for processing multibyte character sequences and wide characters.
Unfortunately, those don't work in some places, such as your system
and mine.  (I am sure they would magically start working with the
right environment variable settings, but who has the time?)
I dropped in a UTF-8 implementation of those functions and
now eqn handles that input as you would expect.

Russ


  parent reply	other threads:[~2011-02-04 20:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-27 12:33 Rudolf Sykora
2011-01-28 15:23 ` Rudolf Sykora
2011-01-31 10:48   ` Rudolf Sykora
2011-02-04 20:44   ` Russ Cox [this message]
2011-02-05 11:52     ` Rudolf Sykora
2011-02-07 19:12       ` Yaroslav

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='AANLkTin2RYtRhk518u8NNmidzVjq7LiyYL-dtp=kwzcy@mail.gmail.com' \
    --to=rsc@swtch.com \
    --cc=9fans@9fans.net \
    /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 NNTP newsgroup(s).