Searched refs:encoding (Results 1 – 25 of 113) sorted by relevance
12345
133 db eval {PRAGMA encoding}454 PRAGMA encoding;472 PRAGMA encoding;500 PRAGMA encoding;507 PRAGMA encoding;515 PRAGMA encoding;523 PRAGMA encoding;530 PRAGMA encoding;535 # Disallow encoding changes once the encoding has been set.560 PRAGMA encoding=UTF8;[all …]
85 set utf16le_tcl [encoding convertto unicode $str]95 set utf16be_tcl [encoding convertto unicode $str]178 PRAGMA encoding = 'utf-8';184 PRAGMA encoding;190 PRAGMA encoding = 'UTF-16le';193 PRAGMA encoding;204 } {1 {attached databases must use the same text encoding as main database}}210 PRAGMA encoding = 'UTF-16le';218 PRAGMA encoding = 'UTF-16le';219 PRAGMA encoding;[all …]
23 PRAGMA encoding=utf16le;24 PRAGMA encoding;57 PRAGMA encoding80 # Try to attach a database with a different encoding.91 PRAGMA encoding='utf8';93 PRAGMA encoding101 } {1 {attached databases must use the same text encoding as main database}}
29 # The setup is a database with UTF-16 encoding that contains a single38 PRAGMA encoding='UTF-16';46 PRAGMA encoding='UTF-16';55 PRAGMA encoding='UTF-16';64 PRAGMA encoding='UTF-16';73 PRAGMA encoding='UTF-16';81 PRAGMA encoding='UTF-16';
20 # Make sure the system encoding is utf-8. Otherwise, if the system encoding27 # encoding system utf-837 set r [encoding convertto unicode $str]53 set r [encoding convertfrom unicode $str]
293 set enc [db eval {PRAGMA encoding}]308 set "Unknown database encoding: $::enc"323 sqlite3_bind_text16 $VM 1 [encoding convertto unicode hellothere] 10324 sqlite3_bind_text16 $VM 2 [encoding convertto unicode ""] 0325 sqlite3_bind_text16 $VM 3 [encoding convertto unicode world] 10335 sqlite3_bind_text16 $VM 1 [encoding convertto unicode hi\000yall\000] 16336 sqlite3_bind_text16 $VM 2 [encoding convertto unicode hi\000yall\000] 14337 sqlite3_bind_text16 $VM 3 [encoding convertto unicode hi\000yall\000] -1372 encoding convertfrom unicode [sqlite3_errmsg16 $DB]387 encoding convertfrom unicode [sqlite3_errmsg16 $DB][all …]
39 # the UTF-8 encoding used internally.42 set sql [encoding convertto unicode $zSql]50 set sql [encoding convertto unicode $zSql]120 fconfigure $fd -translation binary -encoding binary141 fconfigure $fd -translation binary -encoding binary
31 set r [encoding convertto unicode $str]39 PRAGMA encoding = "UTF-16le";44 execsql {PRAGMA encoding}
27 set r [encoding convertto unicode $str]35 PRAGMA encoding = "UTF-16le";40 execsql {PRAGMA encoding}
26 set r [encoding convertto unicode $str]34 PRAGMA encoding = "UTF-16le";39 execsql {PRAGMA encoding}
29 # Create a database with a UTF16 encoding. Put in lots of string37 PRAGMA encoding=UTF16;91 PRAGMA encoding=UTF16be;
48 db eval "PRAGMA encoding = \"$enc\""51 db eval {PRAGMA encoding}76 sqlite3_bind_text16 $S 1 [encoding convertto unicode $val] [expr $x*2]
72 fconfigure $f -encoding binary92 fconfigure $f -encoding binary112 fconfigure $f -encoding binary182 fconfigure $fd -encoding binary -translation binary230 fconfigure $fd -encoding binary -translation binary395 fconfigure $fd -translation binary -encoding binary413 fconfigure $fd -translation binary -encoding binary434 fconfigure $fd -translation binary -encoding binary462 fconfigure $fd -translation binary -encoding binary
23 db eval "PRAGMA encoding='$enc'"24 set x [db eval {PRAGMA encoding}]
14 # The ticket reports that the encoding is UTF8 on the DEFAULT VALUE of30 PRAGMA encoding=UTF16;
79 # shared-8.*: Tests related to the text encoding of shared-cache databases.642 # the wrong encoding for a database.649 PRAGMA encoding = 'UTF-16';654 string range [execsql {PRAGMA encoding;}] 0 end-2660 PRAGMA encoding = 'UTF-8';672 PRAGMA encoding;686 PRAGMA encoding = 'UTF-16';689 string range [execsql {PRAGMA encoding;} db2] 0 end-2699 execsql { PRAGMA encoding }702 set zDb16 "[encoding convertto unicode test.db]\x00\x00"[all …]
70 PRAGMA encoding=UTF16le;78 PRAGMA encoding=UTF16be;
19 # VDBE program, as the function might have changed the encoding.22 PRAGMA encoding=UTF16le;
309 # ALTER TABLE RENAME should work regardless of the database encoding.316 PRAGMA encoding=UTF8;332 PRAGMA encoding=UTF16le;348 PRAGMA encoding=UTF16be;
22 db eval {PRAGMA encoding=UTF8}47 db2 eval {PRAGMA encoding=UTF16be}
53 fconfigure $fd -encoding binary -translation binary54 fconfigure $fd2 -encoding binary -translation binary
42 fconfigure $fd -encoding binary -translation binary49 fconfigure $fd2 -encoding binary -translation binary74 fconfigure $fd2 -encoding binary -translation binary
42 {PRAGMA encoding = 'UTF-8'}70 {PRAGMA encoding = 'UTF-8'}
301 u8 encoding; in sqlite3InitOne() local304 encoding = (u8)meta[BTREE_TEXT_ENCODING-1] & 3; in sqlite3InitOne()305 if( encoding==0 ) encoding = SQLITE_UTF8; in sqlite3InitOne()307 encoding = SQLITE_UTF8; in sqlite3InitOne()309 sqlite3SetTextEncoding(db, encoding); in sqlite3InitOne()
1262 if( encoding!=SQLITE_UTF8 ){ in sqlite3VdbeExec()1306 pOut->enc = encoding; in sqlite3VdbeExec()1407 pOut->enc = encoding; in sqlite3VdbeExec()1683 if( encoding>SQLITE_UTF8 ) nByte &= ~1; in sqlite3VdbeExec()1688 pOut->enc = encoding; in sqlite3VdbeExec()3021 pDest->enc = encoding; in sqlite3VdbeExec()3035 pDest->enc = encoding; in sqlite3VdbeExec()7475 pCtx->enc = encoding; in sqlite3VdbeExec()8125 sContext.enc = encoding; in sqlite3VdbeExec()8410 pCtx->enc = encoding; in sqlite3VdbeExec()[all …]