If there is no meta tag with defined document encoding, how HTMLParser converts text data into Unicode? Does it contain some encoding detection machinery?