Re: CP1251 and termwrap
On Mon, Sep 06, 2004 at 01:28:35PM +0300, Ognyan Kulev wrote:
>
> The patch is attached. This change was committed but later reverted.
Do you know why?
> Should I apply it to trunk? Without the patch, jfbterm is used, and
> that is generally OK.
Your support of CP1251 requires the package console-cyrrilic to be
available. Look how the support for KOI8-U is done, it doesn't require
console-cyrrilic but fallbacks on try_load_charset instead. The second
argument of try_load_charset is the ACM (i.e. "cp1251" for CP1251) and
the third argument should be some Cyrillic font from
/usr/share/consolefonts (its encoding is not important -- choose your
favourite, "ruscii_8x16" is probably a good choice).
Of course you have to uninstall console-cyrillic from your computer in
order to test if this works. ;-)
Anton Zinoviev
Reply to: