Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sqlite/blob/master/test/dblwidth-a.sql # sqlite [Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `sqlite / test / dblwidth-a.sql` 52 lines · 2063 bytes Raw Blame History 1 #!sqlite3 2 /* 3 ** Run this script using "sqlite3" to confirm that the command-line 4 ** shell properly handles the output of double-width characters. 5 ** 6 ** https://sqlite.org/forum/forumpost/`008ac80276` 7 */ 8 .open :memory: 9 .mode -reset quote 10 .testcase 100 11 .mode box 12 CREATE TABLE data(word TEXT, description TEXT); 13 INSERT INTO data VALUES('〈οὐκέτι〉','Greek without dblwidth <...>'); 14 SELECT * FROM data; 15 .check < │ 20 ╰────────────┴──────────────────────────────╯ 21 END 22 23 .testcase 200 24 .mode table 25 SELECT * FROM data; 26 .check < | 31 +------------+------------------------------+ 32 END 33 34 .testcase 300 35 .mode qbox 36 SELECT * FROM data; 37 .check <' │ 42 ╰──────────────┴────────────────────────────────╯ 43 END 44 45 .testcase 400 46 .mode column 47 SELECT * FROM data; 48 .check < 52 END