On Wed, 29 Mar 2000, Vlad Harchev wrote:

> On Wed, 29 Mar 100, T.E.Dickey wrote:
> 
> > > Btw. the various *.po files now available are all based on a very 
> > > early lynx.pot (from one of the first 2.8.3dev.Ns, more or less 
> > > the same as 2.8.2, it seems), although they claim to be 2.8.3. 
> > 
> > I've noticed that...
> > 
> > > They'll be out of date when 2.8.3 comes out.  Should we encourage 
> > > translators to update their translations now?  How? 
> > 
> > It would be nice if they could update when we start pre-release, since
> > (it would be nice to assume the code will be fairly stable).  I see only
> > one bug report against dev.23 (the htmlized cfg file install).
> 
>   There is one more bug wrt prettysrc and charset handling (not checked
> dev23, but it's present in dev16 and seems no fixes for it were posted). If
> charset of page was specified in the HTTP header, and that charset is not assumed
> document charset, then switching to psrc and back will rerender document with 
> assumed charset rather than the one specified by http header. This loss of
> charset information makes documents in russian completely unreadable. Sorry
> for reporting this so late - I hoped to fix this problem myself (but if anyone 
> knows solution right now - please do this). As I understand - the something in
> LYMainLoop.c should be tweaked (and I predict the patch will change only one
> line in LYMainLoop.c).
> 

 I researched the problem, it turned out that this is not only psrcview
problem (but any source view), and it looks it appears only if
SOURCE_CACEH:MEMORY is used (no problem if SOURCE_CACHE:FILE is used).

 Here is the patch to fix that (more correctly - if the same logic is used to
correct dev14, then the problem will be solved; it's impossible to test
whether the problem will be solved with the patch I'm sending for dev23 in
dev23 since SOURCE_CACHE doesn't work in dev23 at all; but I think the same 
logic applies to dev23). 
 It's oneliner as I predicted.

 Best regards,
  -Vlad

diff -ru lynx2-8-3-was/src/LYMainLoop.c lynx2-8-3/src/LYMainLoop.c
--- lynx2-8-3-was/src/LYMainLoop.c      Mon Mar 27 08:14:00 2000
+++ lynx2-8-3/src/LYMainLoop.c  Thu Mar 30 18:19:35 2000
@@ -4333,6 +4333,7 @@
 
     if (HTisDocumentSource()) {
        srcmode_for_next_retrieval(-1);
+       LYUCPushAssumed(HTMainAnchor);  
     } else {
        if (HText_getOwner())
            StrAllocCopy(*ownerS_address_p, HText_getOwner());

Reply via email to