slang-users mailing list

[2000 Date Index] [2000 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: ascii table


Konstantin Boldyshev <konst@xxxxxxxxxxxxxx> wrote:
>Can anyone help me with this simple program which
>intented to print ascii table. With curses it works fine
>(#define _CURSES_ in the beginnig of file),
>but I can't get it work with slang.
>Why chars >=128 <=160 are stripped?

It is my understanding that ISO-latin defines ``8-bit'' control
characters in the range 128 to 160.  For example, many DEC vtxxx
terminals use such characters when the terminal is set to 8 bit mode.
If you want to display characters in that range, and you know that the
terminal supports those characters, then you may put

   SLsmg_Display_Eight_Bit = 128;

in your code.  The slrn newsreaders sets this values based upon the
user's character set preference.  If the user wants ISO-Latin, the
values is set to 160.

Support for UTF-8 is planned for version 2.0.  Hopefully, that will
help resolve some of these character set issues.

--John


[2000 date index] [2000 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]