lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Re: lynx should respect LANG


From: Atsuhito Kohda
Subject: Re: lynx-dev Re: lynx should respect LANG
Date: Fri, 02 Jun 2000 16:04:15 +0900

From: Klaus Weide <address@hidden>
Subject: Re: lynx-dev Re: lynx should respect LANG
Date: Thu, 1 Jun 2000 11:33:35 -0500 (CDT)

> > When lynx sets CHARACTER_SET and/or PREFERRED_LANGUAGE automatically, 
> > can a user check what values are effective right now by, for example,
> > 'O'ption menu?
> 
> Yes, that was the idea.  It would also follow automatically from the
> most straightforward way of implementing it:

I see.

> > I think English is generally a good enough for second candidate
> > for PREFERRED_LANGUAGE.
> 
> That depends on the sites - many sites (that do content negotiation on
> language) will be set up to return the English version as default
> anyway (it matches the '*'), but it's not necessarily so.  So we
> shouldn't build such an English-centric assumption into a browser, in
> this day and age.  Unless perhaps we find some sites where this is
> actually necessary.

Okay, it might be reasonable.

> > Well, I might misunderstand here but, as far as I know,
> > ASSUME_LOCAL_CHARSET can be left unset.
> 
> Yes, normally.  There were actually some obscure bugs in HTML.c that could
> be triggered when ASSUME_LOCAL_CHARSET was explicitly set (now fixed).
> 
> > I have unset ASSUME_LOCAL_CHARSET for a long time and have never 
> > encountered the problems.
> 
> The effective ASSUME_LOCAL_CHARSET defaults to the effective ASSUME_CHARSET
> which in turn depends on the explicit setting (from lynx.cfg or command
> line flag or 'O'ptions screen) as well as the current CJK/Raw setting.
> As long as you are browsing with a Japanese display character set and
> CJK "on", there shouldn't be problems (I assume your local files are
> in Japanese encoding).  But if you set CJK temporarily "off" (for example
> with the '@' toggle), for browsing some non-Japanese sites, there would
> be problems when going back and forth between local files and those
> remote sites.  For that situation, setting ASSUME_LOCAL_CHARSET explicitly
> should help.
> 
> Well that's the theory, it may well be that currently ASSUME_LOCAL_CHARSET
> doesn't work right for Japanese character sets.  It should work right
> though if you replace Japanese by Some-Other-Language/Encoding.
> Not-too-unrealistic example: Russian UNIX user on KOI8-R system, with
> convention that local files are in KOI8-R, wants to browse remote sites
> that are Microsoft-encoded (windows-1251) without proper charset labelling,
> so user needs to set Assumed document character set in 'O', but local
> files should still be assumed as KOI8-R.

Seems not so simple ;-) but thanks for your kind explanation.

Best Regards,                   2000.6.2

--
 Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <address@hidden>
 Department of Math., Tokushima Univ.

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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