Subject | CharacterSet problems |
---|---|
Author | G. Nau |
Post date | 2005-06-06T07:13:05Z |
I have problems with character set usage in a IBO/FireBird 1.5
system.
Database created with default char set iso8859_1
Every column is defined by a domain, and each (var)char domain is
defined as iso8859_1.
In the IB_connection component I also use character set iso8859_1
for the connection.
Now I observe problems using upper/lower chase german umlaut
characters (ä, ö, ü).
They are stored correctly but search operations (where clause) are
not finding the records.
Example 1:
select * from customer where upper(name) like :search
parambyname('search'):='%MÜLLER%'
is not finding any
using (Example 2)
select * from customer where upper(name) like upper('%müller%')
is finding them.
I also tried using ANSIUpperCase to convert to capital letters from
example 1
parambyname('search'):=Ansiuppercase('%müller%')
but that's not finding them, too.
So,
what do you recommend to safely get German umlaut characters
(like any other country specific characters) and uppercase
conversions working?
Thanks in advance
Gunther
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
system.
Database created with default char set iso8859_1
Every column is defined by a domain, and each (var)char domain is
defined as iso8859_1.
In the IB_connection component I also use character set iso8859_1
for the connection.
Now I observe problems using upper/lower chase german umlaut
characters (ä, ö, ü).
They are stored correctly but search operations (where clause) are
not finding the records.
Example 1:
select * from customer where upper(name) like :search
parambyname('search'):='%MÜLLER%'
is not finding any
using (Example 2)
select * from customer where upper(name) like upper('%müller%')
is finding them.
I also tried using ANSIUpperCase to convert to capital letters from
example 1
parambyname('search'):=Ansiuppercase('%müller%')
but that's not finding them, too.
So,
what do you recommend to safely get German umlaut characters
(like any other country specific characters) and uppercase
conversions working?
Thanks in advance
Gunther
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de