Python spanish problem codec can't encode character

前端 未结 0 651
无人共我
无人共我 2021-01-26 06:14

I can\'t do the typical

encode(\'utf-8\').decode(\'ascii\', \'ignore\')

Because I loose the ñ and the áéíóú characters.

What can I do?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题