Charset MariaDB and ZeosLib lazarus / 16-Databases ---------------------------------------------------------------------- paolo@ariadivetro.it · 2016-05-11 13:05 Greetings to all. My name is Paolo and I apologize for my English certainly is not too good. I was approached by a bit 'of time to programming with Lazarus and now I'm working with DB, but I have met a first problem. I searched the net and in the forum, replicable solutions, but I could not find information, or at least I have not been able to find them, and for that I apologize. Here is my situation. I installed the latest releas of xampp (with MariaDB), I created a DB and its tables with charset UTF8. I installed on the Lazarus Zeoslib and use the ZEOS components to access the DB. The problem is: how to avoid that accented letters will be displayed with "?". I tried various solutions even reading this: http://forum.lazarus.freepascal.org/index.php?topic=15968.0 but I have not been able to solve the problem. Can anyone provide step by step tips to men faced the problems indicated? Thank you all for your patience! ---------------------------------------------------------------------- miab3 · 2016-05-12 18:05 What version of Lazarus and ZEOS? Michal ---------------------------------------------------------------------- paolo@ariadivetro.it · 2016-05-13 11:26 Thank you Michal, Lazarus version 1.6 and Zeos version 7.1.4-stable. ---------------------------------------------------------------------- miab3 · 2016-05-13 14:02 Although I am using Lazarus_fpcup 1.7 Win32 and ZEOS 7.2.1-rc https://sourceforge.net/projects/zeoslib/files/Zeos%20Database%20Objec ts/zeosdbo-7.2.1-rc/ZEOSDBO-7.2.1-rc.zip/download but with such Zconnecton: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   object ZConnection1: TZConnection    ControlsCodePage = cCP_UTF8    AutoEncodeStrings = False    ClientCodepage = 'utf8'    Properties.Strings = (      'codepage=utf8'    )    TransactIsolationLevel = tiReadCommitted    Connected = True    HostName = 'SERVER'    Port = 0    Database = 'test'    User = '****'    Password = '****'    Protocol = 'mysql-5'    left = 25    top = 12  end I have no problems with national characters (MySQL 5.5.40, MariaDB 10.1.1) Michal