be09bb pass client_encoding utf8 to create_engine

Authored and Committed by Richard Marko 8 years ago
    pass client_encoding utf8 to create_engine
    
    Resolves
    
    [:error] [pid 4455] UnicodeEncodeError: 'ascii' codec can't encode
    character u'\\xf6' in position 13: ordinal not in range(128)
    
    when getting user
    
    user = pagure.lib.search_user(SESSION, email=author.email)
    
        
file modified
+2 -1
file modified
+1 -1