1. 打开工程代码
  2. 在help中输入inspector
    找到“Show File Inspector”所在位置,单击。
    Xcode中文乱码解决方案
  3. 在跳出的窗口中找到"Text Encoding",从下拉菜单中选择“Simplified Chinese (GB XXXX)”
  4. 选择“Reinterpret”
    Xcode中文乱码解决方案
  5. 查看代码中是否已经能够显示中文
  6. 回到"Text Encoding",从下拉菜单中选择“Unicode (UTF-8)”
  7. 选择“convert”
    Xcode中文乱码解决方案

相关文章:

  • 2021-12-08
  • 2021-12-18
  • 2021-06-19
  • 2021-06-15
  • 2021-12-02
  • 2021-12-25
  • 2021-04-14
猜你喜欢
  • 2022-12-23
  • 2021-12-10
  • 2021-09-11
  • 2021-11-21
相关资源
相似解决方案