I have a problem with special characters like 'ä', 'ü', 'ö' when I try to filter my data.
The following code is used very often in the program.
Code: Select all
sprintf(szSuchFilter, "BEZEICHNUNG like '%s%s%s'",
SqlWildcard.c_str(), Filter.c_str(), SqlWildcard.c_str());
Query->Active=false;
Query->DeleteWhere();
Query->AddWhere(szSuchFilter);
Query->Active=true;
I get the following Message:
"arithmetic exception, numeric overflow, or string truncation
Cannot transliteral character between character sets"
Charset is set to ISO8859_1 in the program and in the database.
[/code][/quote]