try this one
NSString *num = @"20\u02b0";
NSString *insertSQL = [NSString stringWithFormat: @"INSERT INTO table_name (feild1,feild2) VALUES ('%@',' %@');",num,string2];
Question
I have a problem as this question: Want to add Superscript data to Sqlite database
Can you give me an example about INSERT statement. I don't know more about <sub>
and <sup>
, and unicode characters.
Thanks you!
Solution
try this one
NSString *num = @"20\u02b0";
NSString *insertSQL = [NSString stringWithFormat: @"INSERT INTO table_name (feild1,feild2) VALUES ('%@',' %@');",num,string2];