Hi!

I found a little bug in htdig/HTML.cc code after having added the translation
between different encodings in Russian I needed.  The bug can bother not only
Russian people but also people who use European languages other than English.
See the patch below.

- Alexander

------------------------------------------------
--- HTML.cc.orig        Sun Sep 29 11:13:07 2002
+++ HTML.cc     Sat Nov 30 15:26:26 2002
@@ -747,7 +747,7 @@
                    if (meta_dsc.length() > max_meta_description_length)
                     meta_dsc = meta_dsc.sub(0, max_meta_description_length).get();
                   if (debug > 1)
-                    cout << "META Description: " << attrs["content"] << endl;
+                    cout << "META Description: " << meta_dsc << endl;
                   retriever.got_meta_dsc((char*)meta_dsc);
 


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to