How to decode unicode string that is read from a file in Python?

后端 未结 0 350
隐瞒了意图╮
隐瞒了意图╮ 2020-12-06 20:19

I have a file containing UTF-16 strings. When I try to read the unicode, " " (double quotes) are added and the string looks like "b\'\\\\xff\\\\xfeA\\\\

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