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.
有谁知道 NSString 是否支持日文字符?我写了这样的东西:
NSString* str = @"日本語";
但这仅在 XCode 调试器中显示一些字母和数字。如何在 iPhone 应用程序中写日语单词?
这似乎是正确的。
但这仅在 Xcode 调试器中显示一些字母和数字
我猜“字母和数字”类似于 \u123\092 等?您在调试器中看到的是 unicode 等价物。如果你在 UILabel 或类似的东西中显示字符串,它看起来会很好。