groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Problems with unwanted unicode.


From: Werner LEMBERG
Subject: Re: [Groff] Problems with unwanted unicode.
Date: Fri, 13 Jul 2001 04:14:21 +0200 (CEST)

> The Japanese patch seems to assume input text as EUC when devices
> other than -Tascii8 and -Tlatin1 are selected.  (I.e., using -Tps
> will enable EUC mode).  I am now planning to submit a patch which
> enable EUC mode only under -Tnippon device.

A better temporary solution is probably to add a single flag like -D1
and -D0 to activate interpretation of double-byte characters
independently of the output device.  Additionally, an environment
variable like GROFF_DBCS might help to permanently activate it for
Japanese users.

> However, this problem is come from the poor initial design of groff,
> where -T option is used for specifying device _and_ encoding.  Thus,
> my patch might annoy Japanese people because Japanese people will be
> located into the situation like you (Cannot use -Tps) with my patch.

This `poor' design is due to the age of troff.  BTW, TeX has similar
flaws, and the designer of LaTeX 2e had a lot of work to fix it.

I'm going to fix this for groff 2.0 by implementing Unicode,
separating input and output encoding, but it won't be a quick
development process...


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]