[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Lynx and Euro symbol support
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev Lynx and Euro symbol support |
Date: |
Mon, 22 Feb 1999 12:08:59 +0300 (MSK) |
22-Feb-99 00:38 Jacob Poon wrote:
> On Sat, 20 Feb 1999, Leonid Pauzner wrote:
>> Well, it would be probably nicer to keep lynx internal data in unicode
>> (2bytes). This eventually require rewriting of all string operations but
>> there is a deeper problem: some unicodes may be mapped to multichars
>> combination for your display charset but lynx should know the resulting
>> number of letters to place "newline" properly. That is why lynx keep
>> internal data as a stream of bytes, this also covers CJK multubytes and
>> UTF-8 multibytes.
> There is more than just replacing strings. Since most Lynx's messages are
> still written in English (except the Japanese Lynx that rarely involves
> with Lynx-dev discussions), storing them in with UCS-2 will double message
> lengths. With most Latin-based translations, they don't need double byte
> storage (usually ISO-8859-x will do).
This is not the problem, the problem is CPU overload since we will
do translation on-the-fly to display charset for every screen
(scroll/repaint/back from history) operations.