TPConnection, TSQLTransaction,TSQLQuery, TDataSource, dbGrid - crashes and doesn't show Croatian letters correctly
Original Reporter info from Mantis: tatamata
-
Reporter name: Zlatko Matić
Original Reporter info from Mantis: tatamata
- Reporter name: Zlatko Matić
Description:
I tried to work with a database on PostgreSQL 8.1.2, but there are two problems:
-
Croatian letters (WIN 1250) are not displayed correctly. Default encoding in PostgreSQL is unicode (UTF), while in Windows it is local encoding WIN 1250.
I tried with all listed encoding in Lazarus (including "unicode"), but none succeded to show letters correctly. -
Application crashes when scrolling through the datagrid showing result of a query. Before crashing an error apears: "Abstract method called".
I send you both source-code (.zip) and screen-shots to illustrate the problem.
Steps to reproduce:
- PostgreSQL database (unicode) with croatian letters
- TPConnection, TSQLTransaction,TSQLQuery, TDataSource, dbGrid
- Scrolling through the data-grid
Mantis conversion info:
- Mantis ID: 2098
- OS: Windows XP SP2
- Build: 20060402
- Version: 0.9.14