Re: [Interest] How to fix encoding

2014-08-26 Thread Edgar Moraes Diniz
Hi, Actually, I meant Qt drivers, such as QOCI, QPSQL, QSQLITE etc. You don't need to recompile the entire Qt library, only the QODBC driver. Em 26/08/2014 10:14, zdenko podobny escreveu: > Hello, > > I try to retrieve strings from db with QODBC (QT 5.3.1 windows). > Database locale i

Re: [Interest] How to fix encoding

2014-08-26 Thread zdenko podobny
Using native c++ driver (but not QT based) is my backup solution. At the moment I try to find QT5 based solution without need to recompile QT... Zdenko On Tue, Aug 26, 2014 at 3:32 PM, Edgar Moraes Diniz < edgar.di...@openmailbox.org> wrote: > Hi, > > I had this problem here in Brazil, too, bu

Re: [Interest] How to fix encoding

2014-08-26 Thread Edgar Moraes Diniz
Hi, I had this problem here in Brazil, too, but with Qt 5.0, perhaps that's the same point. To overcome this problem, I found two solutions: 1 (easier): Do you really have to use ODBC? Native drivers are supposedly better and faster. Try using the native driver for your DB. 2 (not so eas

[Interest] How to fix encoding

2014-08-26 Thread zdenko podobny
Hello, I try to retrieve strings from db with QODBC (QT 5.3.1 windows). Database locale is en_US.819 (and ODBC driver does not work if client locale is not set to en_US.819). Strings (stored by windows application in db) are cp1250 encoded. And instead of "doručené" I got "doru?en?". Here is par