[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] Re: What's missing for Unicode support of groff?
From: |
Werner LEMBERG |
Subject: |
[Groff] Re: What's missing for Unicode support of groff? |
Date: |
Thu, 08 Sep 2005 18:56:26 +0200 (CEST) |
> > What exactly do you mean? Converting UTF-8 to, say, latin-1 with
> > `iconv' is already a quick-and-dirty solution. Another
> > possibility is to take a groff UTF8 font definition file and put
> > all Unicode->glyph entities into a big perl (or python) table.
>
> I mean that you had an idea to use a small filter to
> # Convert input in UTF8 encoding to something groff 1.19 or greater
> # can understand. It simply converts all Unicode values >= U+0080
> # to the form \[uXXXX].
> You posted "a small perl script which does that"
> (http://lists.gnu.org/archive/html/groff/2005-02/msg00094.html),
> that was later rewritten in C
> (http://lists.gnu.org/archive/html/groff/2005-06/msg00025.html).
> That seems to be a way to let people start to convert documents
> in latin or cyrillic encodings, if they want to move to UTF-only
> environment.
Indeed. It might be a good idea to put such stuff into the `contrib'
directory of http://groff.ffii.org. Do you volunteer to provide
documentation, examples, etc., to make those scripts/programs really
useful?
I hesitate to put it into the groff distribution directly. Now 1.19.2
is out, and work on real UTF8 input could start.
Werner