Problem with cyrillic symbols
I use postgresql as database server. i created database:
When i try to SELECT cyrillic strings from database using qxorm i receive '???????' instead, but everything is ok when i try to use QSqlQuery.
I looked into postgresql log file and see that pgadmin and qxorm make same request before select statement:
This means that problem is not in QSqlQuery or QSqlDatabase. It is in qxorm.
I tried to find out where qxorm fetches data from query into data structure but failed. Can you provide me with this information?
CREATE DATABASE qtaxi
WITH OWNER = postgres
ENCODING = 'UTF8'
TABLESPACE = pg_default
LC_COLLATE = 'ru_RU.UTF-8'
LC_CTYPE = 'ru_RU.UTF-8'
CONNECTION LIMIT = -1;
When i try to SELECT cyrillic strings from database using qxorm i receive '???????' instead, but everything is ok when i try to use QSqlQuery.
I looked into postgresql log file and see that pgadmin and qxorm make same request before select statement:
select version()
SET CLIENT_ENCODING TO 'UNICODE'
SET DATESTYLE TO 'ISO'
This means that problem is not in QSqlQuery or QSqlDatabase. It is in qxorm.
I tried to find out where qxorm fetches data from query into data structure but failed. Can you provide me with this information?