ORLite: Unicode-question
Where is the right place to put the sqlite_unicode
开发者_JAVA技巧 setting when using ORLite?
Unfortunately, there isn't a really good place. See bug #61191: Enable sqllite_unicode in the DBI->connect
attrs for more information.
From now on, you can just use the unicode
option, which will set sqlite_unicode
for you. Fixed in 1.52. :-)
use ORLite {
file => 'sample.db',
unicode => 1,
...
精彩评论