Accented characters using Firebird Zeos in Lazarus Pascal
Posted: 27.09.2018, 23:18
Hi everybody,
My english is not good, but i´ll try to explain my issue:
I have a form on which i have a TZConnection1 to a Firebird db, a ZSQLProcessor1, a ZQuery1, a DataSource1 and finally a DBGrid1 and they all are connected. Everything works fine, i get to see on the dbgrid the info from a table (Dimensiones), the problem is when a field (observaciones) of a record in that table has a character like: á, é, ó, í, ú or ñ or other characters we have in spanish, because the text gets truncated to the position where that character is.
I don´t know exactly how to attach an image but i tried, hopefully you will be able to see the image. I also tried with a TIBConnection, in that case on the DBGrid i get to see that field complete but for every of those characters i get a '?' (question mark).
What should i do to solve this?
In advance thank you all for any help.
Bob
My english is not good, but i´ll try to explain my issue:
I have a form on which i have a TZConnection1 to a Firebird db, a ZSQLProcessor1, a ZQuery1, a DataSource1 and finally a DBGrid1 and they all are connected. Everything works fine, i get to see on the dbgrid the info from a table (Dimensiones), the problem is when a field (observaciones) of a record in that table has a character like: á, é, ó, í, ú or ñ or other characters we have in spanish, because the text gets truncated to the position where that character is.
I don´t know exactly how to attach an image but i tried, hopefully you will be able to see the image. I also tried with a TIBConnection, in that case on the DBGrid i get to see that field complete but for every of those characters i get a '?' (question mark).
What should i do to solve this?
In advance thank you all for any help.
Bob