delphi2010, ZEOSDBO-7.0.0-alpha and sqlite3.74 chinese path

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
leatarget
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 02.01.2011, 12:31

delphi2010, ZEOSDBO-7.0.0-alpha and sqlite3.74 chinese path

Post by leatarget »

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!
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

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
Image
leatarget
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 02.01.2011, 12:31

Post by leatarget »

It is ok!
thank you very much!
When you are ready to release 7.0 final version?
I look forward to the official version!
and thank again for your good job!
Locked