Search found 1891 matches
- 20.02.2012, 15:13
- Forum: SQLite
- Topic: path of Sqlite3.dll
- Replies: 6
- Views: 2574
Hello Onis, in my programs I do something like this to try to load the firebird client library before zeos tries to do it: var LibraryHandle: THandle; procedure preloadLibrary(LibName: String); begin if LibraryHandle <> 0 then FreeLibrary(LibraryHandle); if (LibName <> '') and (FileExists(LibName)) ...
- 20.02.2012, 15:02
- Forum: PostgreSQL
- Topic: Working with UTF8 encoded dbs
- Replies: 15
- Views: 5303
Hello pawelp, is WIN1252 really the correct codepage for you to use? I just ask because your profile states that you live in poland and Wikipedia says that the codepage, which is used in poland, should be WIN1250. I don't use postgres, so I don't know if it is possible to do anything about these err...
- 14.02.2012, 10:46
- Forum: SQLite
- Topic: path of Sqlite3.dll
- Replies: 6
- Views: 2574
- 14.02.2012, 10:43
- Forum: PostgreSQL
- Topic: Working with UTF8 encoded dbs
- Replies: 15
- Views: 5303
Hello pawelp, it seems that you use an ANSI-Version of Delphi. Maybe you should ask Postgres to do the conversion between your codepage (1250?) and UTF8? Unfortunately I don't know how to do that. Maybe something like ZConn.Properties.Values['codepage']:='WIN1250'; or ZConn.Properties.Values['client...
- 26.01.2012, 20:00
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [solved] Zeos Firebird 2.0 Delphi XE select error accent
- Replies: 4
- Views: 1028
Hello Douglas, the current firebird driver of Zeos has problems when it comes to characer sets. I currently try to fix this. You can find the current version of a patch that tries to fix this here: http://zeos.firmos.at/viewtopic.php?p=14111#14111 If you try to use that patch, it is best to set CODE...
- 26.01.2012, 19:54
- Forum: Firebird
- Topic: Turkish character problem
- Replies: 14
- Views: 5529
- 20.01.2012, 19:32
- Forum: Firebird
- Topic: Turkish character problem
- Replies: 14
- Views: 5529
Hello Michael, hmmm - for the start I would try to implement a consistent handling of Stringfields. Use (Ansi)StringField when you have an ansi codepage and use WideStringField when it is a Unicode Connection. I think it is the responsibility of the application developer to select the right one. But...
- 19.01.2012, 15:32
- Forum: Firebird
- Topic: Turkish character problem
- Replies: 14
- Views: 5529
Hello Michael, I am sorry that my answer is somewhat lengthy. But I see no other way how to say everything and be precise at the same time. We need a WideToAnsi-String translation here or we lost some String-Data. On executing UTF8Encode(AString) the result is Ansi-compatible. But the AnsiCodepage t...
- 17.01.2012, 22:24
- Forum: Firebird
- Topic: Turkish character problem
- Replies: 14
- Views: 5529
Hello Michael, Your patch and all others (MySQL, PostgreSQL, SQLite-not yet) USE UTF8Encode/Decode as an StringToAnsi-Adapter. Actually, this isn't what is happening. The patch doesn't use UTF8Encode anywhere. I don't know how other database servers work. But with Firebird it is like this, if I unde...
- 16.01.2012, 20:27
- Forum: Firebird
- Topic: Turkish character problem
- Replies: 14
- Views: 5529
Hello EgonHugeist, I attached the patch. Maybe it is not completely right. But it might go into the right direction as it solved unicode handling for the standard Delphi TDBEdit. It seems that it solved problems for one guy whereas another guy seemed to have problems with some controls (see http://z...
- 13.01.2012, 15:28
- Forum: Firebird
- Topic: Turkish character problem
- Replies: 14
- Views: 5529
Hello boreas, mdaems and EgonHugeist, I am no expert at zeos. But shouldn't boreas use CODEPAGE=UTF8 in TZConnection.Properties when he uses a Delphi that uses Unicode? This way Firebird can do all the conversion that is needed and all that the lower levels of Zeos have to do is advertise the result...
- 19.10.2011, 13:16
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Latest version from SVN and Firebird and åäö on ISO8859_1
- Replies: 6
- Views: 1089
- 18.10.2011, 09:34
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Latest version from SVN and Firebird and åäö on ISO8859_1
- Replies: 6
- Views: 1089
- 12.10.2011, 14:22
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Delphi XE2
- Replies: 9
- Views: 1352
Hello StoRmtec, I had a similar problem with Delphi XE. The problem seems to be that windows can not find the ZComponentDesign160.bpl. Windows tries to load it as it would load a regular dll. So it has to be in the same directory as the Delphi executable or in the path environment variable. So you s...
- 12.10.2011, 12:34
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Latest version from SVN and Firebird and åäö on ISO8859_1
- Replies: 6
- Views: 1089