add .encode('utf-8') for multibyte charset