erlang-sqlite3 icon indicating copy to clipboard operation
erlang-sqlite3 copied to clipboard

Utf-8 encoding of table names

Open gaborszelei opened this issue 2 years ago • 1 comments

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.

gaborszelei avatar Mar 25 '23 20:03 gaborszelei

@prefiks: Have you seen this ticket?

Neustradamus avatar Jan 27 '24 20:01 Neustradamus