Special Characters from SQLite DB

Posted by Matthias on Stack Overflow See other posts from Stack Overflow or by Matthias
Published on 2010-05-03T12:42:53Z Indexed on 2010/05/03 12:48 UTC
Read the original article Hit count: 260

Filed under:


I read from a sqlite db to my iphone app. Within the texts sometimes there are special characters like 'xf2' or 'xe0' as I can see in the debugger in the char* data type. When I try to transform the chars to an NSString Object by using initWithUTF8String, I get a nil back.

How can I transform such special characters? Thanks for your help.

Bye Matthias

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c