I use v4.59 under lazarus 1.04 connect to sqlserver 2005 ,but when filed value is chinese ,i got garbled characters
i also set
UniConnection1.SpecificOptions.Values['Language']:='Simplified Chinese';
how to fix it ?
garbled characters with sqlserver & lazarus &v4.59
-
AndreyZ
Re: garbled characters with sqlserver & lazarus &v4.59
Hello,
We know about this problem. The point is that Lazarus under Windows does not correctly work with wide strings. To solve the problem, you should add the paswstring unit to the USES clause of your unit and rebuild your application.
We know about this problem. The point is that Lazarus under Windows does not correctly work with wide strings. To solve the problem, you should add the paswstring unit to the USES clause of your unit and rebuild your application.
Re: garbled characters with sqlserver & lazarus &v4.59
wow, thank you AndreyZ, paswstring work fine now ,AndreyZ wrote:Hello,
We know about this problem. The point is that Lazarus under Windows does not correctly work with wide strings. To solve the problem, you should add the paswstring unit to the USES clause of your unit and rebuild your application.
-
AndreyZ
Re: garbled characters with sqlserver & lazarus &v4.59
I am glad I could help. Feel free to contact us if you have any further questions about UniDAC.