Page 1 of 1

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

Posted: 02.01.2011, 12:51
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!

Posted: 02.01.2011, 19:58
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

Posted: 03.01.2011, 06:47
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!