32 bit vs. 64 bit vs. UTF8 lazarus / 16-Databases ---------------------------------------------------------------------- DrMac · 2008-11-05 10:48 I have a MySQL database (full UTF8 encoded) and two Debian Linux system (one 32 bit, one 64 bit), both of them full UTF8 environment. I try the following simple project: - mysql50connect - sqlquery - datasource - dbgrid When I compiled the project in the 32 bit system, the dbgrid displayed the fields correctly. But under the 64 bit system the special hungarian characters (like áéőű) doesn't displayed, only a strange character (a rectangle and an X inside). What's the problem under the 64 bit system? Edit: 32 bit system: Lazarus 0.9.24, FreePascal 2.2.0 64 bit system: Lazarus 0.9.26, FreePascal 2.2.2 ---------------------------------------------------------------------- bobo · 2008-11-08 10:38 From 0.9.26 Lazarus is Unicode (UTF8) . All controls require UTF8 encoded strings. This might help a little: http://lists.freepascal.org/lists/fpc-devel/2008-September/014949.html Also make sure that the font you use has those special characters. ---------------------------------------------------------------------- DrMac · 2008-11-08 16:41 In the meantime I upgraded my 32 bit system, so now both of my systems have Lazarus 0.9.26 and Freepascal 2.2.2. But the problem remain the same. In 32 bit system all special characters (áéőú etc.) are correctly appear, but in the 64 bit system don't. All parameters (connection settings, dbgrid font etc) are same.