title: chardet run incorrect in python 3
body: <p><br>
    I am using chardet 2.01 in python 3.2，the souce code like this site <a href="http://getpython3.com/diveintopython3/case-study-porting-chardet-to-python-3.html" rel="nofollow">http://getpython3.com/diveintopython3/case-study-porting-chardet-to-python-3.html</a></p>
  
  <p>can download here <br>
  <a href="http://jaist.dl.sourceforge.net/project/cygwin-ports/release-2/Python/python3-chardet/python3-chardet-2.0.1-2.tar.bz2" rel="nofollow">http://jaist.dl.sourceforge.net/project/cygwin-ports/release-2/Python/python3-chardet/python3-chardet-2.0.1-2.tar.bz2</a></p>
  
  <p>I use lxml2 to parse html to get some string <br>
  ,and use below code to detect the encoding<br></p>
  
  <pre><code>chardet.detect(name)
  </code></pre>
  
  <p>But an error occurs</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\python\test.py", line 125, in &lt;module&gt;
      print(chardet.detect(str(name)))
    File "E:\Python32\lib\site-packages\chardet\__init__.py", line 24, in detect
      u.feed(aBuf)
    File "E:\Python32\lib\site-packages\chardet\universaldetector.py", line 98, in feed
      if self._highBitDetector.search(aBuf):
  TypeError: can't use a bytes pattern on a string-like object
  </code></pre>
  
  <p><code>name</code> is a string object<br>
  Convert the string to bytes means encoding it with encoding like 'utf-8','big5'<br> and so on,charset would detect the encoding you made....not the original string's encoding<br>
  I have no idea with this problem...</p>