lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] progress/status


From: Thorsten Glaser
Subject: Re: [Lynx-dev] progress/status
Date: Wed, 6 Oct 2004 16:13:43 +0000 (UTC)

Thomas Dickey dixit:

>On Wed, 6 Oct 2004, Thorsten Glaser wrote:
>
>> address@hidden dixit:
>>
>> >Does this screenshot mean that dev.6 will be able to show euc-jp
>> >(or Shift_JIS) page correctly on UTF-8 terminal?
>>
>> I hope for that, too.
>>
>> There's just a problem:
>>
>> strlen(s) != number_of_characters_in(s) != width_of(s)
>
>yes - but lynx has its own functions which try to do this.  For 8-bit
>curses, it does several workarounds (but those cannot completely work,
>since they attempt to fool the curses library into doing something it
>cannot do completely - repainting is always a problem).
>
>In the changes I've made, I'm using the curses library to decide how
>many cells on the screen the string will actually use.  lynx has to
>construct the string (and as noted, will have to use libiconv to handle
                                                      ^^^^^^^^

>shift-JIS, etc).  Since all of the strings passed to the curses library

Ugh.

We'd have to add GNU libiconv to our base system. With all the
character sets already around in lynx, isn't there a way other
than using GNU libiconv to do that?

If not, we'll have to consider libiconv, but if there's an easier
way to do it...

bye,
//mirabile




reply via email to

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