Hello,
I have problems with a SQL statement like:
ZReadOnlyQuery1.sql.add('Select * from T_Buchung where "Art_Name" like :sbegriff');
ZReadOnlyQuery1.Params[0].asstring:= sbegriff;
sbegriff is for example: %Blüte%
I get an error like:
arithmetic exception, numeric overflow or string truncation Cannot transliterate character between character sets
How can I find a string with German Umlaute like Ü,Ä,Ö, ect with a SQL-Statement?
Many thanks and best regards
Josef
ZEOS, Firebird and German Umlaute
Moderators: gto, cipto_kh, EgonHugeist
-
- Junior Boarder
- Posts: 26
- Joined: 04.09.2005, 14:46
- Domo Sokrat
- Fresh Boarder
- Posts: 5
- Joined: 15.09.2005, 06:19
- Location: Halut / Milkyway - Westside
-
- Junior Boarder
- Posts: 26
- Joined: 04.09.2005, 14:46
- Domo Sokrat
- Fresh Boarder
- Posts: 5
- Joined: 15.09.2005, 06:19
- Location: Halut / Milkyway - Westside
Hi Josef,
the same error occurs in my sample app if I use
Using
works perfectly!
Regards.
Btw: Created my sample database with default charset ISO8859_1 and created the test table without specifying the characterset in my CREATE TABLE command...
the same error occurs in my sample app if I use
Code: Select all
lc_ctype=ISO8859_1
Code: Select all
Codepage=ISO8859_1
Regards.
Btw: Created my sample database with default charset ISO8859_1 and created the test table without specifying the characterset in my CREATE TABLE command...
-
- Junior Boarder
- Posts: 26
- Joined: 04.09.2005, 14:46