Mysql latin1 turkish data and delphi 2010 utf8

Posted by sabri.arslan on Stack Overflow See other posts from Stack Overflow or by sabri.arslan
Published on 2010-04-24T17:08:13Z Indexed on 2010/04/24 17:13 UTC
Read the original article Hit count: 396

Filed under:
|
|
|
|

Hello,

I have tables collating latin1_general_ci and have turkish character values. And i can use this data on delphi 7+zeos with no problem. but i want to upgrade my delphi to 2010 version but zeos too slow as i saw. so i want to use odbc+ado or dbexpress solution.

dbexpress solution works fine , display my data as entered and write as entered table without any change to column charset. but dbexpress has problems as i saw. for example when i select * from table which has column types as varchar,decimal,int,tinyint,text give av errors on xp systems. vista and 7 does not give any error and work fine(not fully tested).

ado solution(dbgo) works fine but its not show my data as entered.its want everything be utf. but i don't want to convert my data to utf before test everything. how can i see my data as entered and write client side utf and store latin1(as zeos or dbexpress do).

i was tried many other options. eg. mysql side collation and charset parameters.

sorry for my bad english. i hope someone understand me.

thanks.

© Stack Overflow or respective owner

Related posts about delphi

Related posts about mysql