开发者

What's the CFStringEncoding for Polish?

A user c开发者_StackOverflow中文版omplained that I don't support Polish character encodings for my iOS app, but I can't seem to figure out what encodings they're looking for.


According to the wikipedia page on the Polish alphabet:

The standard 8-bit character encoding for the Polish alphabet is ISO 8859-2 (Latin-2)

To find the CFStringEncoding for Latin-2, look under External String Encodings here, to find this information:

enum {
    ...
    kCFStringEncodingISOLatin2 = 0x0202

EDIT: But, as suggested by Jonathan Grynspan, you really should be using Unicode (kCFStringEncodingUnicode) for everything.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜