[prev in list] [next in list] [prev in thread] [next in thread] 

List:       elinks-dev
Subject:    Re: Re: [elinks-dev] alignment & utf-8
From:       Petr Baudis <pasky () ucw ! cz>
Date:       2004-10-18 20:45:51
Message-ID: 20041018204551.GD2841 () pasky ! ji ! cz
[Download RAW message or body]

Dear diary, on Sun, Oct 17, 2004 at 03:05:41PM CEST, I got a letter,
where Jonas Fonseca <fonseca@diku.dk> told me, that...
> Johannes Zellner <johannes@zellner.org> wrote Fri, Oct 15, 2004:
> > Hello,
> 
> Hi,

Hi,

> > there appears to be some alignment problem when running elinks in a
> > utf-8 terminal. I turned on utf-8 I/O and the UTF-8 charset in elinks.
> > Everything is ok except that elinks doensn't handle correctly
> > international characters. A screenshot is attached.
> 
> There are multiple reports in bugzilla about how broken UTF-8 I/O is.
> Most important is bug 20. Please improve the descriptions if you think
> something is missing.

this is not much relevant, it's a bug in the terminal drawing code and
can be fixed independently. The problem is in add_chars() and pals, who
do things like

struct screen_char *current = &screen->last_image[ypos];
struct screen_char *pos = &screen->image[ypos];

and that of course breaks for variable multibyte sequences.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
For every complex problem there is an answer that is clear, simple,
and wrong.  -- H. L. Mencken
_______________________________________________
ELinks-dev mailing list
ELinks-dev@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic