lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev URLs with raw 8-bit chars (was: lynx: have bug)


From: Leonid Pauzner
Subject: Re: lynx-dev URLs with raw 8-bit chars (was: lynx: have bug)
Date: Sat, 27 Mar 1999 03:48:01 +0300 (MSK)

25-Mar-99 09:17 Klaus Weide wrote:
> On Thu, 25 Mar 1999, Leonid Pauzner wrote:

>> Something like this (will try later, probably we should restrict
>> expanding of &entities; or so).  Think about renaming
>> TRANSLATE_AND_UNESCAPE_TO_STD() to TRANSLATE_HREF_ATTRIBUTE()

> But entities have to be expanded - all those that mean allowed 7-bit
> characters are perfectly valid.  And those that mean other characters
> should also be expanded, for consistency.
For consistency with what? "Other" entities will be expanded to utf-8
and we get a mixture of 8bit characters and utf-8 multibytes
in a single word - completely unrecoverable mess.

> And the macro is used for much more than just HREFs (whether always
> appropriately I don't know).

>> 25-Mar-99 02:45 Klaus Weide wrote:
>> > And I have not seen either that or raw characters in HREF= in reality -
>> > can you offer an example for the last one?
>>
>> One example I know of -  www.job.ru :)
>> This is essentially in Russian language (so may be a problem to test for 
>> you).

> I wasn't able to reproduce it (no wonder without understanding what they
> are saying :) ).  I got lists, but the link for the next 25 items always
> looked like http://www.job.ru/cgi/list1.cgi?GR_NUM=%2B1&LDAY=1, without
> anything more embedded.

>    Klaus

That is because you have not check a town.
Two links below should have an equal "ADDR=" field, apparently not:

>   Lynx 2.8.2dev.20 (17 Mar 1999) (development version) - compile time options

> File that you are currently viewing

>    Linkname: Russian Internet Job Agency - www.job.ru
>         URL:
>           http://www.job.ru/cgi/list1.cgi?RD=YES&TOPICID=9&ADDR=%CC%EE%F1
>           %EA%E2%E0&ADDR=&N_JOB=&AGEMIN=30&EDUC=1&MONEY=&SEX=&GR=&TP=&LDA
>           Y=31
>     Charset: windows-1251
>      Server: Apache/1.3.4 (Unix) PHP/3.0.7 rus/PL27.7
>        Date: Fri, 26 Mar 1999 17:33:54 GMT
>    Last Mod: Fri, 26 Mar 1999 17:33:54 GMT
>     Expires: Thu, 01 Jan 1970 00:00:01 GMT
>    Owner(s): None
>        size: 876 lines
>        mode: normal, no-cache

> Link that you currently have selected

>    Linkname: Следующие 50
>         URL:
>           http://www.job.ru/cgi/list1.cgi?GR_NUM=%2B1&TOPICID=9&EDUC=1&AG
>           EMIN=30&LDAY=31&ADDR=%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B0





reply via email to

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