Bug #11841 [NEW]: PDO SQLite file with non ASCII char in path
| From: | fmate144 at gmail dot com | Date: | Tue, 14 Aug 2007 08:20:59 +0000 |
| Subject: | Bug #11841 [NEW]: PDO SQLite file with non ASCII char in path | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-6011@lists.php.net to get a copy of this message | ||
From: fmate144 at gmail dot com
Operating system: WinXP SP2
Package version:
PHP version: Irrelevant
Package: Bug System
Bug Type: Bug
Bug description: PDO SQLite file with non ASCII char in path
Description:
------------
I have a simple sqlite database file. If in its path is non ASCII
characters, the PDO can not open it!
Reproduce code:
---------------
<?php
// In c:\xéx\test.php
// Exception: unable to open database file
$db = new PDO('sqlite:test.db3');
// Work good!
$db = sqlite_open('test.db3', 0666, $sqliteerror);
// In c:\xex\test.php both work good.
?>
Expected result:
----------------
unable to open database file
--
Edit bug report at http://pecl.php.net/bugs/bug.php?id=11841&edit=1
--