From 463fac5e388966a8ce95fc84c1c92f5a62afbc9b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 14 Apr 2011 15:15:07 +0000 Subject: [PATCH] Fixed a bug - restored DEFAULT_CHARSET. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@330 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- parse_html/bkmk_ph_beautifulsoup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/parse_html/bkmk_ph_beautifulsoup.py b/parse_html/bkmk_ph_beautifulsoup.py index e02081b..0b3d2f9 100644 --- a/parse_html/bkmk_ph_beautifulsoup.py +++ b/parse_html/bkmk_ph_beautifulsoup.py @@ -18,6 +18,7 @@ from sgmllib import SGMLParser, SGMLParseError from BeautifulSoup import BeautifulSoup, CData from .bkmk_ph_util import HTMLParser +DEFAULT_CHARSET = "cp1251" # Stupid default for Russian Cyrillic # http://groups.google.com/group/beautifulsoup/browse_thread/thread/69093cb0d3a3cf63 class BadDeclParser(BeautifulSoup): -- 2.39.5