You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I write a SQLITE Database, i push rows with string fields in UTF8, but I made SELECT, I get the values in unknown encoding
Example:
db.run("insert into tabla(str) values('ちは')",function(){db.all("select str from tabla",function(err,rows){varstr=rows[0].str;// I get: ã�¡ã�¯ instead of ちは})})
The text was updated successfully, but these errors were encountered:
Yeap, I see this too on desktop jx SM (V8 works ok):
varsqlite3=require('sqlite3').verbose();vardb=newsqlite3.Database(':memory:');db.serialize(function(){db.run("CREATE TABLE tabla (str TEXT)");db.run("insert into tabla(str) values('ちは')",function(err){db.get("select str from tabla",function(err,row){console.log(row.str);})})});
I write a SQLITE Database, i push rows with string fields in UTF8, but I made SELECT, I get the values in unknown encoding
Example:
The text was updated successfully, but these errors were encountered: