Skip to content

Commit

Permalink
Quick unicode test to quell my paranoia.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccgus committed May 9, 2012
1 parent c226e8e commit 9c749a9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/fmdb.m
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,17 @@ int main (int argc, const char * argv[]) {



{

[db executeUpdate:@"create table utest (a text)"];
[db executeUpdate:@"insert into utest values (?)", @"/übertest"];

rs = [db executeQuery:@"select * from utest where a = ?", @"/übertest"];
FMDBQuickCheck([rs next]);
[rs close];
}


{
[db executeUpdate:@"create table testOneHundredTwelvePointTwo (a text, b integer)"];
[db executeUpdate:@"insert into testOneHundredTwelvePointTwo values (?, ?)" withArgumentsInArray:[NSArray arrayWithObjects:@"one", [NSNumber numberWithInteger:2], nil]];
Expand Down

0 comments on commit 9c749a9

Please sign in to comment.