From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 4 Feb 2011 15:44:25 -0500 Message-ID: Subject: Re: [9fans] missing Greek letters in p9p troff From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: acb5b90a-ead6-11e9-9d60-3106f5b1d025 > 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=CE=B1b > .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