zeos 7.1.3a (tested on 7.1.2 and 7.2 alpha too)
Lazarus 1.0.14
connection: ClientCodePage=WIN1250, ControlsCodePage=UTF8, protocol=mssql
table contains field type varchar(5)
if database field value='Polka' then all it's ok, but if field value in database='Półka' then zeos query return 'Pół' (for 'Półką' return 'Pó')
problem only occurs when reading data
Best regards
problem with AutoEncodeString
problem with AutoEncodeString
Best regards
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: problem with AutoEncodeString
Hello paweld,
this s a bug in the dbc driver for dblib based drivers. The attached patch fixes this problem for me. Please note: I only tested this patch briefly and did not check for any consequences regarding the functionality for Sybase or FreeTDS.
Also you might consider to change to FreeTDS because the ntwdblib.dll is not supported by Microsoft anymore.
Best regards,
Jan
this s a bug in the dbc driver for dblib based drivers. The attached patch fixes this problem for me. Please note: I only tested this patch briefly and did not check for any consequences regarding the functionality for Sybase or FreeTDS.
Also you might consider to change to FreeTDS because the ntwdblib.dll is not supported by Microsoft anymore.
Best regards,
Jan
You do not have the required permissions to view the files attached to this post.
Re: problem with AutoEncodeString
Thank You very much. After patch apply it's ok. I must go back to 7.1.2 because in 7.1.3a on application close see error "Access violation".
FreeTDS it's ok, but connect with mssql server only on port 1433.
Best regards / Pozdrawiam
paweld
FreeTDS it's ok, but connect with mssql server only on port 1433.
Best regards / Pozdrawiam
paweld
Best regards