import re
from htmlentitydefs import name2codepoint
-from ..compat import unicode, unichr
+from compat import unicode, unichr
DEFAULT_CHARSET = "cp1251" # Stupid default for Russian Cyrillic
parsers = []
from BeautifulSoup import BeautifulSoup, CData
from .bkmk_ph_util import HTMLParser
-from ..compat import string_type
+from compat import string_type
DEFAULT_CHARSET = "cp1251" # Stupid default for Russian Cyrillic
from bs4 import BeautifulSoup
from .bkmk_ph_util import HTMLParser
-from ..compat import string_type
+from compat import string_type
universal_charset = "utf-8"
DEFAULT_CHARSET = "cp1251" # Stupid default for Russian Cyrillic