UTF-8 in SQLite
#1821
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I read some docs, and figure I need....
use DBD::SQLite::Constants qw(:dbd_sqlite_string_mode);
and then later...
{ sqlite_string_mode => DBD_SQLITE_STRING_MODE_UNICODE_FALLBACK }
Then I read Mojo::SQLite docs, and notice...
Options for database handles, defaults to activating sqlite_unicodeWe are told in https://metacpan.org/pod/DBD::SQLite#Database-Handle-Attributes that we should
Prefer sqlite_string_mode in all new code.So...can I pass an sqlite_string_mode via options ( https://metacpan.org/pod/Mojo::SQLite#options ) and that will override the deprecated sqlite_unicode ...?
Beta Was this translation helpful? Give feedback.
All reactions