开发者

What's the CFStringEncoding for Polish?

开发者 https://www.devze.com 2023-03-28 08:19 出处:网络
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 wikipe

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

精彩评论

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