Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人解决以下问题:当我想在包含德语变音符号的 StringElement 中显示字符串时,例如:ä、ü 或 ö 或 ß 它在黑色填充的矩形中显示为白色问号。任何如何解决这个问题的建议都非常感谢!
找到了解决方案。但是,将其视为黑客!localizable.strings如果我从项目文件夹中的文件中提取字符串,则de.lproj显示变音符号没有问题,因此我将字符串中的变音符号转换为 ae 或 oe,然后localizable.strings通过扩展方法从文件中获取正确的字符。如上所述,我认为这个解决方案是一种 hack,如果有更好的解决方案,我会很高兴了解它们......
localizable.strings
de.lproj