I used command .read script.sql (of command line tool sqlite3.exe that I've downloaded from https://www.sqlite.org/download.html) to import data to an existing database sqlite.
File script.sql was saved with notepad++ in encoding UTF8 without BOM, has content like this:
INSERT INTO "table1" VALUES('Các con cáo nâu nhanh chóng nhảy chó lười biếng');
INSERT INTO "table1" VALUES('速い茶色のキツネは、のろまなイヌに飛びかかっ');
INSERT INTO "table1" VALUES('빠른 갈색 여우가 게으른 개 점프');
But after I ran above command, data was convert to ansii, like this:
Các con cáo nâu nhanh chóng nhảy chó lưá»i biếng
速ã„茶色ã®ã‚ツãƒã¯ã€ã®ã‚ã¾ãªã‚¤ãƒŒã«é£›ã³ã‹ã‹ã£
ë¹ ë¥¸ 갈색 여우가 게으른 ê°œ ì 프
Does anybody know how to solve the problem?
sqlite3.exein the Windows console, UTF-8 keyboard input or screen output is not handled correctly. - CL..read script.sql. I checked data by tool SQLite Expert, not by output to console screen. - KevinBuiSELECT hex(Column1) FROM ...for the first row? - CL.chcp 65001before runningsqlite3.exe. - JosefZ