转换Xcode里打印的unicode编码日志

1)打开Terminal

2)输入python

3)print(u'\u6027\u611f\u597d\u83b1\u575e\u5973\u661f\u7ecf\u5178\u88f8\u7167'.encode('utf8'))

‘\u6027\u611f\u597d\u83b1\u575e\u5973\u661f\u7ecf\u5178\u88f8\u7167’为要转化的编码;

相关文章:

  • 2021-10-12
  • 2021-06-02
  • 2021-08-31
  • 2021-11-13
  • 2021-06-18
  • 2021-11-30
  • 2021-07-18
猜你喜欢
  • 2022-01-24
  • 2021-08-27
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案