Tag: 文化信息

如何处理iOS SQLite中的重音字符?

我需要执行对大小写不敏感的SELECT查询。 为了演示目的,我创build了一个如下表格: create table table ( column text collate nocase ); insert into table values ('A'); insert into table values ('a'); insert into table values ('Á'); insert into table values ('á'); create index table_cloumn_Index on table (column collate nocase); 然后,我在执行下列查询时得到这些结果: SELECT * FROM table WHERE column LIKE 'a'; > A > a SELECT * FROM […]