Hello,
i came over a problem with version 7.2.14 on a lazarus 2.2.2, messing up with german umlauts when inserting a SQLite table. There is a small test project attached, with the sqlite.dll in use, just for compiling and running (there will load several sql-inserts into the synedit, to be marked an executed one by one)
There is no such problem with the original exe compiled with lazarus 1.6.2 and ZEOS 7.1.4., using the same dll.
Please could anyone check that out?
regards
hoedlmoser
PS: i got a "file too large" error so i had to delete the dll from the zip.
version 7.2.14 sqlite umlauts
-
- Fresh Boarder
- Posts: 14
- Joined: 24.01.2018, 11:17
version 7.2.14 sqlite umlauts
You do not have the required permissions to view the files attached to this post.
Re: version 7.2.14 sqlite umlauts
Hi,
Your application compiled with Lazarus 2.2.4-Win32, SQLite 3.39.0 and Zeos8 /trunk svn 7928:
I added semicolons in session.sql.
Michal
Your application compiled with Lazarus 2.2.4-Win32, SQLite 3.39.0 and Zeos8 /trunk svn 7928:
I added semicolons in session.sql.
Michal
You do not have the required permissions to view the files attached to this post.
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: version 7.2.14 sqlite umlauts
Hello Hoedlmoser,
I tested you application with the current Zeos 7.2-patches from the SVN. My Lazarus version is 2.2.0 and my FPC version is 3.2.2. I use SQLite version 3.39.3. For me things seem to work correctly. Umlauts seem to be stored correctly in the database - and fetched as well.
Some notes on your application though:
With best regards,
Jan
I tested you application with the current Zeos 7.2-patches from the SVN. My Lazarus version is 2.2.0 and my FPC version is 3.2.2. I use SQLite version 3.39.3. For me things seem to work correctly. Umlauts seem to be stored correctly in the database - and fetched as well.
Some notes on your application though:
- It makes sense to specify a ClientCodepage. Use UTF8 in your case.
- use "sqlite" as the protocol. Versioned protocl names ("sqlite-3") will not be supported by the upcoming Zeos 8.0:
Zeos 7.2 release notes, Chapter 'The future development of Zeos' wrote:Protocols with version numbers will not be used in Zeos 8.0 anymore (i.e. firebird-2.5 will become firebird). Please migrate. Driver names without version numbers were added to Zeos 7.2 to prepare for this.
With best regards,
Jan
-
- Fresh Boarder
- Posts: 14
- Joined: 24.01.2018, 11:17
Re: version 7.2.14 sqlite umlauts
@Michal
thanks for your reply. i replaced the 7.2.14 with 8.0 from svn trunc 7930 and it works (still using Lazarus 2.2.2 64 bit and sqlite.dll 3.8.7.0)
regards
hoedlmoser
thanks for your reply. i replaced the 7.2.14 with 8.0 from svn trunc 7930 and it works (still using Lazarus 2.2.2 64 bit and sqlite.dll 3.8.7.0)
regards
hoedlmoser
-
- Fresh Boarder
- Posts: 14
- Joined: 24.01.2018, 11:17
Re: version 7.2.14 sqlite umlauts
@jan
thanks for your suggestions. Lazarus 2.2.2 came with FPC 3.2.2. ill try that 7.2 patch from svn, as 8.0 is still "beta"
hoedlmoser
thanks for your suggestions. Lazarus 2.2.2 came with FPC 3.2.2. ill try that 7.2 patch from svn, as 8.0 is still "beta"
hoedlmoser
Re: version 7.2.14 sqlite umlauts
@ hoedlmoser,
Every non-trivial application or library has bugs. I believe that the current version of the Zeos8 trunk has fewer of them than the previous versions (Zeos7). So I would advise you to move to Zeos8 also because you can faster expect fixes in the dropdown(lived) version than the ancient one.
Michal
Every non-trivial application or library has bugs. I believe that the current version of the Zeos8 trunk has fewer of them than the previous versions (Zeos7). So I would advise you to move to Zeos8 also because you can faster expect fixes in the dropdown(lived) version than the ancient one.
Michal
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: version 7.2.14 sqlite umlauts
Honestly I do know of some serious bugs im Zeos 8 that Michael fixed only recently and that were one reason to not release Zeos 8 as stable yet. Also there may be one serious bug that didn't get fixed yet in the Firebird/Interbase drivers. I am not sure about that last one.
Zeos 7.2 is - how do they say - industry proven ;o) Honestly I would advise people to stay with Zeos 7.2 for now if it suits their needs. We keep fixing bugs if we get reports for bugs there for now.
Re: version 7.2.14 sqlite umlauts
Hi Jan,
But Zeos8 has many new features including it is adapted to the current versions of SQL servers and Zeos7 will be more and more out of date.
Michal
But Zeos8 has many new features including it is adapted to the current versions of SQL servers and Zeos7 will be more and more out of date.
Michal