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
Post a Comment