On Fri, 31 Mar 2000, Klaus Weide wrote:
> On Fri, 31 Mar 2000, Vlad Harchev wrote:
> > On Fri, 31 Mar 2000, Klaus Weide wrote:
> [...]
> > I tried with patched lynx - info page says that charset is the same, but it
> > adds that it's assumed (but display is not corrupted - correct translation is
> > used). What should I see?
>
> The '(assumed)' indicates that HTMainAnchor->charset has disappeared.
> If the character translation still is done right, that must then be
> because it was still saved in the HTAnchor->UCStages... which happens
> to survive the re-loading (it would be cleared when _not_ going to
> source mode:
> /*
> * This magic FREE(anchor->UCStages) call
> * stolen from HTuncache_current_document() above.
> */
> if (!(HTOutputFormat && HTOutputFormat == WWW_SOURCE)) {
> FREE(HTMainAnchor->UCStages);
> }
> ). So in this case, things work out; it's just a demonstration that
> anchor->charset can't always be relied on to remain in HTMainAnchor.
OK. But seems situation when charset info is completely lost is very
unlikely in any case (I don't remember any).
> Klaus
>
Best regards,
-Vlad