作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我使用 genstrings
命令创建 .strings 文件。该命令的输出文件使用 UTF-16 编码,但是当我将生成的 .strings 文件添加到我的项目中然后 bild 时,Xcode 显示警告:
The specified input encoding is Unicode (UTF-8), but file contents appear to be Unicode (UTF-16); treating as Unicode (UTF-16).
我在textEdit.app中打开.strings文件并使用UTF-16重新保存它,但这没有效果。
急于解决这个问题?谢谢!
最佳答案
我无法重现该问题,但最简单的解决方案可能是在 Xcode 中选择字符串文件,并在文件检查器中将“文本编码”设置为“UTF-16”。
关于Xcode 警告 : The specified input encoding is Unicode (UTF-8), 但文件内容似乎是 Unicode (UTF-16);视为 Unicode (UTF-16),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16504272/
我是一名优秀的程序员,十分优秀!