erlang-sqlite3
erlang-sqlite3 copied to clipboard
Utf-8 encoding of table names
sqlite> .tables
Asetukset Hyppääjät Lentäjät Pokat Tarvikkeet
Eurot Hypyt Luokat Pondimaksut Tyypit
Hinnat Koneet Maksut Stuff Varjot
Hyppymestarit Korvaukset Ostokset Suoritukset
But:
([email protected])2> sqlite3:list_tables(hlu).
['Asetukset','Eurot','Hinnat','Hyppääjät',
'Hyppymestarit','Hypyt','Koneet','Korvaukset','Lentäjät',
'Luokat','Maksut','Ostokset','Pokat','Pondimaksut','Stuff',
'Suoritukset','Tarvikkeet','Tyypit','Varjot']
Although:
([email protected])3> sqlite3:sql_exec(hlu, "select count(id)i from Hyppääjät where id >0;").
[{columns,["i"]},{rows,[{1270}]}]
There is the very same issue of the column names also.
@prefiks: Have you seen this ticket?