]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fixed a bug - restored DEFAULT_CHARSET.
authorOleg Broytman <phd@phdru.name>
Thu, 14 Apr 2011 15:15:07 +0000 (15:15 +0000)
committerOleg Broytman <phd@phdru.name>
Thu, 14 Apr 2011 15:15:07 +0000 (15:15 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@330 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

parse_html/bkmk_ph_beautifulsoup.py

index e02081b3127d7e96ee0c060d09064c8bb40d9888..0b3d2f9c58ac0291dd92533c7241e896920ce036 100644 (file)
@@ -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):