Subject | Problems Displaying Greek Characters |
---|---|
Author | norgepaul |
Post date | 2003-05-10T09:36:14Z |
Hi All,
I've been having a real nightmare trying to display greek characters
in my application (written in Delphi 6, IBX and Firebird V1.5).
I'm creating the database with the following parameter:
DEFAULT CHARACTER SET WIN1253
This works fine and the database appears to be created with the
ability to store Greek characters (at least, when I try to store a
greek character in the DB it no longer gives an error).
Next, I open the database in the application using the parameter:
lc_ctype=WIN1253
So far so good... However, when typing Greek characters in a
DataGrid the following results are seen:
Using a standard TDBGrid, typing the Greek letters "ABCDEFG" results
in (something like) "AAOAAOA" being displayed. After applying the
changes, ""AAOAAOA"" is still displayed.
Using a TdxDBGrid from DevExpress, typing the Greek
letters "ABCDEFG" results in them being displayed correctly. After
applying the changes however, the Greek letters become "?????FG"!
I'm either doing something wrong here or what I'm trying to do is
not possible.
I would be very grateful if somebody could help me out as this is a
real sticking point for my project.
Cheers,
Paul
I've been having a real nightmare trying to display greek characters
in my application (written in Delphi 6, IBX and Firebird V1.5).
I'm creating the database with the following parameter:
DEFAULT CHARACTER SET WIN1253
This works fine and the database appears to be created with the
ability to store Greek characters (at least, when I try to store a
greek character in the DB it no longer gives an error).
Next, I open the database in the application using the parameter:
lc_ctype=WIN1253
So far so good... However, when typing Greek characters in a
DataGrid the following results are seen:
Using a standard TDBGrid, typing the Greek letters "ABCDEFG" results
in (something like) "AAOAAOA" being displayed. After applying the
changes, ""AAOAAOA"" is still displayed.
Using a TdxDBGrid from DevExpress, typing the Greek
letters "ABCDEFG" results in them being displayed correctly. After
applying the changes however, the Greek letters become "?????FG"!
I'm either doing something wrong here or what I'm trying to do is
not possible.
I would be very grateful if somebody could help me out as this is a
real sticking point for my project.
Cheers,
Paul