Possible Duplicate:
SQLite 3: Character Issue While Ordering By Records
The default SQLite configuration does not support Turkish ordering.
What can I do in SQLite to order/sort according to the Turkish alphabet?
Possible Duplicate:
SQLite 3: Character Issue While Ordering By Records
The default SQLite configuration does not support Turkish ordering.
What can I do in SQLite to order/sort according to the Turkish alphabet?
ISTM the only two strategies a 1) teaching SQLite about Turkish ordering or 2) using an external tool that already knows.
For 1) you would need to build a table with the characterset in the proper collation order and use it to drive a correct sort. See section 6 Collation Sequences at http://www.sqlite.org/datatype3.html and the instructions for building a custom collation function: http://www.sqlite.org/c3ref/create_collation.html . A custom collation function would do lookups into your ordered character table to determine which of two strings precedes the other.
For 2) just dump a CSV file and handoff the work to Python or somesuch.