SQLite record read in iPhone -


i getting different value (in case of unicode value) should suppose be. here explanation: storing value 'îî' , when run select command terminal (connected .sqlite file) able see the exact value. when trying fetch value programmatically seeing complete different value. code reading , storing value in char pointer.

generally, should utf-8. can try different encoding ascii,macroman etc. [nsstring stringwithcstring:st encoding:nsutf8stringencoding]

note: can verify unicode value printing value in console.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -