Re: [Firebird-devel] Knowing whether fbclient supports isc_dpb_utf8_filename

2022-03-02 Thread Jiří Činčura
>isc_get_client_version() returns string with FB_BUILD_SUFFIX as last part. > It have value "Firebird 2.1" for FB 2.1, "Firebird 4.0" for FB 4 and so on. Thanks. That and small regex will do just fine. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web

Re: [Firebird-devel] Knowing whether fbclient supports isc_dpb_utf8_filename

2022-03-01 Thread Vlad Khorsun
01.03.2022 14:15, Jiří Činčura wrote: Sorry for disappointing you, but they not gonna be any helpful, as they always return version "6.3" for InterBase compatibility ;-) Yeah. And looks like no function returns FB_MAJOR_VER. Hope somebody has a nice trick in sleeves.

Re: [Firebird-devel] Knowing whether fbclient supports isc_dpb_utf8_filename

2022-03-01 Thread Jiří Činčura
> Sorry for disappointing you, but they not gonna be any helpful, as they > always return version "6.3" for InterBase compatibility ;-) Yeah. And looks like no function returns FB_MAJOR_VER. Hope somebody has a nice trick in sleeves. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/

Re: [Firebird-devel] Knowing whether fbclient supports isc_dpb_utf8_filename

2022-03-01 Thread Dmitry Yemanov
01.03.2022 14:56, Jiří Činčura wrote: void ISC_EXPORT isc_get_client_version ( ISC_SCHAR *); int ISC_EXPORT isc_get_client_major_version (); int ISC_EXPORT isc_get_client_minor_version (); Great! How could I miss it??? Sorry for disappointing you, but they not gonna be any helpful, as

Re: [Firebird-devel] Knowing whether fbclient supports isc_dpb_utf8_filename

2022-03-01 Thread Jiří Činčura
> int ISC_EXPORT isc_get_client_major_version (); > int ISC_EXPORT isc_get_client_minor_version (); My excitement was short lived. fbclient.dll version 4.0.1.2692 returns 6 and 3 respectively. :( -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web

Re: [Firebird-devel] Knowing whether fbclient supports isc_dpb_utf8_filename

2022-03-01 Thread Jiří Činčura
> void ISC_EXPORT isc_get_client_version ( ISC_SCHAR *); > int ISC_EXPORT isc_get_client_major_version (); > int ISC_EXPORT isc_get_client_minor_version (); Great! How could I miss it??? -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web interface at

Re: [Firebird-devel] Knowing whether fbclient supports isc_dpb_utf8_filename

2022-03-01 Thread Alex Peshkoff via Firebird-devel
On 3/1/22 13:45, Jiří Činčura wrote: Hi *, Can somebody think of a way to detect whether fbclient supports isc_dpb_utf8_filename? For example when calling isc_create_database in .NET provider with "Embedded" I need to know whether I can use UTF8 in database path. On Windows I can check