I went around this issue when the JSON UTF-8 strings returned from the server contain unicode pairs, such as:
\ u00c3 \ u00bc
which appears as two separate characters. However, it must be displayed as a single character. According to the table I found at this link , here are some more examples:
0xc3,0xa0 agrave
0xc3,0xa1 aacute
0xc3,0xa2 acircumflex
0xc3,0xa3 atilde
0xc3,0xa4 adiaeresis
0xc3,0xa5 aring
0xc3,0xa6 ae
0xc3,0xa7 ccedilla
0xc3,0xa8 egrave
0xc3,0xa9 eacute
0xc3,0xaa ecircumflex
0xc3,0xab ediaeresis
0xc3,0xac igrave
0xc3,0xad iacute
0xc3,0xae icircumflex
0xc3,0xaf idiaeresis
0xc3,0xb0 eth
0xc3,0xb1 ntilde
0xc3,0xb2 ograve
0xc3,0xb3 oacute
(Each time I see this in my data is converted to the corresponding single character.)
Many of them are apparently "aliases" of singlet forms like "\ uxxxx", but I get them like doublets. A raw byte of data indicates that this is actually how it is transmitted from the server.
(After I received them in UTF-8, there is no reason for me to store them in a local representation in memory.)
, , , . , , , , UIWebView , , , .
?
( , Objective-C CocoaTouch.)