in reply to Re: open sqilite path unicode
in thread open sqilite path unicode
Hello, I'm running ActiveState 5.16
Here is the simple code I'm working on right now with some (maybe) useful error messages. The database is in a folder containing a "ü" in its name...
use strict; use warnings; use UTF8; use Tk; use DBD::SQLite; use Data::Dumper; $Data::Dumper::Useqq=1; my $mw = new MainWindow; my $types = [ ['Text', '.db'], ['All Files', '*'],]; my $file_1= $mw->getOpenFile(-filetypes => $types); #just looking at how the path is print Dumper($file_1); #connecting to sqlite my $dbh = DBI->connect("dbi:SQLite:$file_1", "", "", { RaiseError => 1 +, AutoCommit => 1, PrintError => 0 });
... connection error
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: open sqilite path unicode
by soonix (Canon) on Nov 03, 2013 at 13:36 UTC | |
by Anonymous Monk on Nov 03, 2013 at 13:44 UTC | |
by andal (Hermit) on Nov 04, 2013 at 08:21 UTC | |
by choroba (Cardinal) on Nov 04, 2013 at 09:03 UTC |
In Section
Seekers of Perl Wisdom