Foldername containing scandinavian characters

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Delphi2007User
Posts: 6
Joined: Sat 22 Oct 2016 10:58

Foldername containing scandinavian characters

Post by Delphi2007User » Sat 22 Oct 2016 11:02

I'm using Delphi 2007 and have a problem when the database foldername contains an scandinavian character ( ö ), IBDAC won't connect to the database.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Foldername containing scandinavian characters

Post by ViktorV » Mon 24 Oct 2016 10:55

Please provide the exact error message text, which you receive.

Delphi2007User
Posts: 6
Joined: Sat 22 Oct 2016 10:58

Re: Foldername containing scandinavian characters

Post by Delphi2007User » Mon 24 Oct 2016 16:10

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.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Foldername containing scandinavian characters

Post by ViktorV » Tue 25 Oct 2016 08:21

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.

Delphi2007User
Posts: 6
Joined: Sat 22 Oct 2016 10:58

Re: Foldername containing scandinavian characters

Post by Delphi2007User » Tue 25 Oct 2016 09:05

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.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Foldername containing scandinavian characters

Post by ViktorV » Tue 25 Oct 2016 11:12

This behavior is typical for both InterBase and Firebird.

Delphi2007User
Posts: 6
Joined: Sat 22 Oct 2016 10:58

Re: Foldername containing scandinavian characters

Post by Delphi2007User » Tue 25 Oct 2016 11:39

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 ?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Foldername containing scandinavian characters

Post by ViktorV » Tue 25 Oct 2016 13:58

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.

Delphi2007User
Posts: 6
Joined: Sat 22 Oct 2016 10:58

Re: Foldername containing scandinavian characters

Post by Delphi2007User » Wed 26 Oct 2016 06:48

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Foldername containing scandinavian characters

Post by ViktorV » Wed 26 Oct 2016 11:40

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.

Delphi2007User
Posts: 6
Joined: Sat 22 Oct 2016 10:58

Re: Foldername containing scandinavian characters

Post by Delphi2007User » Wed 26 Oct 2016 11:43

Great, thank you.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Foldername containing scandinavian characters

Post by ViktorV » Thu 10 Nov 2016 12:41

The new IBDAC version 5.7.26 with a fix for this issue is available for download now.

Post Reply