title: Sqlite database non-ascii character error with python SQLalchemy library
body: <p>When i use sqlite3 database with sqlalchemy library, i got this error</p>
  
  <pre><code>sqlalchemy.exc.ProgrammingError: (ProgrammingError) 
  You must not use 8-bit bytestrings unless you use a text_factory that can
  interpret 8-bit bytestrings (like text_factory = str). 
  It is highly recommended that you instead just switch your application 
  to Unicode strings. 
  u'INSERT INTO model_pair (user, password) VALUES (?, ?)' ('\xebE\xc2\xe4.\t312874@gg.com', '123456')
  </code></pre>
  
  <p>and here is some test data:</p>
  
  <pre><code> 呆呆 3098920@gg.com        11111                                                             
    è?“è¨€    9707996@gg.com        11111 
  wwwj55572@gg?€?       11111
  </code></pre>
  
  <p><em><strong>I have configured database encoding as utf-8 or gbk but neither success
  when insert, i try str.decode('gbk'), it will stuck on char like € and get error like above.</em></strong></p>
  
  <p>anyone tell me how get around this error ?</p>