Page 1 of 1

Foldername containing scandinavian characters

Posted: Sat 22 Oct 2016 11:02
by Delphi2007User
I'm using Delphi 2007 and have a problem when the database foldername contains an scandinavian character ( ö ), IBDAC won't connect to the database.

Re: Foldername containing scandinavian characters

Posted: Mon 24 Oct 2016 10:55
by ViktorV
Please provide the exact error message text, which you receive.

Re: Foldername containing scandinavian characters

Posted: Mon 24 Oct 2016 16:10
by Delphi2007User
I/O error for file C:\F?RETAG\FILENAME.GDB
Error while trying to open file
Path not found

? shows where character ö should be ( error msg does not have ? chararcter, it has 2 chars Ä~ ).

You can easily test it, create an folder named FÖRETAG and put a database there.

Re: Foldername containing scandinavian characters

Posted: Tue 25 Oct 2016 08:21
by ViktorV
The issue when the the database foldername contains international characters is not related to IBDAC, but is due to the firebird client library specificities. You can make this sure by trying to connect to the database using the standard components - FireDAC. Unfortunately, we can't affect this behavior.

Re: Foldername containing scandinavian characters

Posted: Tue 25 Oct 2016 09:05
by Delphi2007User
ViktorV wrote:The issue when the the database foldername contains international characters is not related to IBDAC, but is due to the firebird client library specificities. You can make this sure by trying to connect to the database using the standard components - FireDAC. Unfortunately, we can't affect this behavior.
I'm using InterBase, not Firebird.

Re: Foldername containing scandinavian characters

Posted: Tue 25 Oct 2016 11:12
by ViktorV
This behavior is typical for both InterBase and Firebird.

Re: Foldername containing scandinavian characters

Posted: Tue 25 Oct 2016 11:39
by Delphi2007User
I'm using D2007 so I don't have Firedac but TIBDatabase works fine.

What has changed from IBDAC 3.x version to 5.x bc it works with older IBDAC version ?

Re: Foldername containing scandinavian characters

Posted: Tue 25 Oct 2016 13:58
by ViktorV
While investigating we have detected, that the latest version of IBDAC 5.7.25 has the similar behavior with the IBX and FireDAC components.
Please, make sure, that you are using the latest version of IBDAC 5.7.25 and the same version of the client library InterBase with IBDAC and IBX. If you see any difference in the behavior between the IBDAC 5.7.25 and IBX components, please, provide the used InterBase version and the set locale on the client's computer.

Re: Foldername containing scandinavian characters

Posted: Wed 26 Oct 2016 06:48
by Delphi2007User
IBDAC is version 5.7.25
Same Interbase version (2007) is used.
Locale is FI

[0A60FADF]{ibdac105.bpl} Ibcclasses.TGDSConnection.IBCError + $CF
[0A60FA05]{ibdac105.bpl} Ibcclasses.TGDSConnection.Check + $15
[0A610F30]{ibdac105.bpl} Ibcclasses.TGDSConnection.Connect + $188
[0A4991AA]{dac105.bpl } Dbaccess.TCustomDAConnection.DoConnect + $DE
[0A4991C4]{dac105.bpl } Dbaccess.TCustomDAConnection.DoConnect + $F8
[0A63DB00]{ibdac105.bpl} Ibc.TIBCConnection.DoConnect + $78
[0A4994FD]{dac105.bpl } Dbaccess.TCustomDAConnection.PerformConnect + $51
[0A693F87]{ibdacvcl105.bpl} Ibcconnectform.TIBCConnectForm.DoConnect + $4F
[0A69402A]{ibdacvcl105.bpl} Ibcconnectform.TIBCConnectForm.btConnectClick + $2

Re: Foldername containing scandinavian characters

Posted: Wed 26 Oct 2016 11:40
by ViktorV
Thank you for the information. We have reproduced and fixed the issue. This fix will be included in the next build of UniDAC, that we plan to release within a week.

Re: Foldername containing scandinavian characters

Posted: Wed 26 Oct 2016 11:43
by Delphi2007User
Great, thank you.

Re: Foldername containing scandinavian characters

Posted: Thu 10 Nov 2016 12:41
by ViktorV
The new IBDAC version 5.7.26 with a fix for this issue is available for download now.