lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] help


From: Thorsten Glaser
Subject: Re: [Lynx-dev] help
Date: Wed, 23 May 2007 07:54:57 +0000 (UTC)

Forrest dixit:

[ www.163.com ]
>The encoding for most chinese website is GB2312.

The page indeed specifies
|<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

I suppose the problem is the same as with ISO-2022-JP, which doesn't work
either: lynx reads the input octet for octet, and EUC-JP and Shift-JIS get
special treatment by lead/trail byte identifier macros and iconv, but the
input buffer is never seen as a whole, so there's no place to call iconv
on the entire buffer. (I think at least that's the problem, this was when
I tried to add ISO-2022-JP support.)

So this is, with the current source structure, not possible, but IIRC Tom
said he'll do something in that area later.

bye,
//mirabile
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.              -- Coywolf Qi Hunt




reply via email to

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