we can't select a long varchar from a SQLBase Server 12.0 SP1 running under Linux/CentOs7. If the long varchar column contains only ASCII characters, there will be no problem. If the long varchar contains a special character, i.e. 0x5F, the SQL-Error 10446 "Unicode conversion failed" happens. I don't know which other characters above 0x7F will force this error too.
We have found out, that when we compile (TD 6.2 SP5) our testprogram with target ".NET WPD Desktop (EXE)", the error never happens. As "Win32 Target Type", we can't select under Linux columns with the mentioned character.
If we connect with the Win32-exe-Version to SQLBase 12.0.1 10862 running under Windows, the error never happens. Only with the Linux server we have the problem. Ah, if we connect with SQLTalk to the Linux server, we can select all the data without errors!
Code: Select all
connected with | SQLBase Server 12.0 SP1 | SQLBase Server 12.0.1 10862 |
| running under Linux | running under |
Testing with | CentOS 7.0 | Windows Server 2012 R2 |
----------------------------------------------------------------------------
SQLTalk.exe | no error | no error |
compiled for .NET | no error | no error |
compiled for Win32 | error 10446 | no error |
I have attached a democase to show what happens. The file kf.unl contains the table with the test pattern and the file linuxtest.apt a short application.
Thanks for any help.
Joachim