cocoa touch - How to support Cyrillic in an iPhone/iPad app? -


i have simple program on app store using standard uikit controls, reviewers complaining cyrillic , korean not supported? uikit controls not using unicode out of box?

how can fix issue ?

all cocoa ns/cfstrings unicode-compliant (ucs-2 internally), russian , korean alphabets included. unless data are, @ point, passed through single-byte-char format (a c char[] string, example), sensible languages , charsets should supported automatically. pay careful attention storage , wire formats; that's ascii lurks.

if downloading data web or http-based api, pay close attention charset within content-type header. when converting nsdata or raw memory chunks nsstring, encoding 1 of parameters.

and, cajunluke said, start reproducing issue. if need "lorem ipsum"-type text, copy , paste random nonsense respective wikipedia.

i have app in store deals russian , japanese @ same time (it's japanese-russian dictionary). no special measures taken ensure national charset support; however, whenever working single-byte string, i'd keep in mind charset in.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -