I use a delphi2010, ZEOSDBO-7.0.0-alpha and sqlite3.74. In use there is a problem which is using the Chinese path.
I followed a few places at the code
str1 is the Chinese path with the full path to the library d:\temp\数据库测试\测试.db
con1.Database: = str1;
This is ZEOSDBO code, database path is above the Chinese
FHandle: = FPlainDriver.Open (PAnsiChar (Utf8String (Database)), 0, ErrorMessage);
This method is called then the function is the dll directly below the number of lines of output, FileNameString is the database.
SQLite_API.sqlite_open (PAnsiChar (AnsiToUTF8 (FileNameString)), Result0)
I ask that str1 how to convert to the database. Thank you!
delphi2010, ZEOSDBO-7.0.0-alpha and sqlite3.74 chinese path
Moderators: gto, EgonHugeist, olehs
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
If you're just using the one year old 7.0.0-alpha, please upgrade to a recent snapshot. http://zeosdownloads.firmos.at/downloads/snapshots . There's a preview available for a 7.0.1-alpha version. Please check if we did fix this issue and report if this does or does not solve your problem. I remember I read about this issue before, but I'm not sure if it was fixed.
Mark
Mark