]> git.phdru.name Git - bookmarks_db.git/commit
If sys.getdefaultencoding() returns "ascii" - use
authorOleg Broytman <phd@phdru.name>
Sat, 29 Jan 2005 19:30:38 +0000 (19:30 +0000)
committerOleg Broytman <phd@phdru.name>
Sat, 29 Jan 2005 19:30:38 +0000 (19:30 +0000)
commit62977582003da9f434cd4fd377837935b6f0520c
treeb8bf9295de441d225780318379af8b1972fe0886
parenta394f04fc041e42c9b2551a19770dc6e56c047b2
If sys.getdefaultencoding() returns "ascii" - use
locale.getpreferredencoding() to get user's charset.
Convert charset names to the canonical form:
replace "windows-" by "cp", and make the name lowercase.

git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@51 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23
Robots/parse_html.py