My favorites | Sign in
Project Home Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 2: Encoding problems
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by x2o...@googlemail.com, Feb 10, 2010
When i change in your TestApp an Character to ä,ö, etc the output is false.

[conn executeQuery:@"INSERT INTO contacts (name, surname) VALUES ('Jörg', 
'Rafaj');" inDatabase:@"contacts"];

Output in the Contacts-Tableview:
Rafaj, Jörg
Apr 5, 2010
#1 axisao...@gmail.com
I had the same problem and fixed it by replacing

value = [NSString stringWithFormat:@"%s", sqlite3_column_text(statement, i)];

with

value = [NSString stringWithUTF8String:(char *)sqlite3_column_text(statement, i)];

in SQLite3Connector.m



Powered by Google Project Hosting