“VCLApplication.dpr” is a DA/UniDac demo showing the problem
“UniDac Demo\Project1.dpr” is a UniDac only demo showing that the problem is not in UniDac
Description of the problem:
This only occurs when the Windows’ system locale is set to an Asian language such as Korean. To do this in Windows: Start, then type Region, then go to the Administrative tab, then click “Change system locale”, select Korean and reboot
When a blob field is added from a stream: it is store corrupted in the table and DB. This happens on both the client and server as shown in VCLApplication.dpr sample
How to reproduce:
Run VCLApplication.dpr, click “Activate and Insert” and check the log it displays. It will work fine in a Windows with “English” locale but not with “Korean” or other Asian locale.
Hello,
We couldn’t reproduce it.
We tested in on Win7 x32 + UniDAC5
Can you test your project on later UniDAC versions?
Can you check version of SQLite library?
I’ll try to update UniDac but before that, can you confirm that you have modified your Windows system local to Korean and rebooted the computer for the purpose of this test ? As mentioned in the original report, this does not happen for English or Western European languages.
This solves the problem in the demo I sent you but not in my main app. Should this fix be applied everywhere the same patterns occurs with a TDAParams in the source code ? I’ve found quite a few of them.
I’ll try to create a demo showing the problem.
Hello,
We planned to middle of March. But we don’t guarantee that it will help to your main project. To fix it completely we need the testcase which reproduces it.