Re: [Firebird-devel] isc_arg_string in status vector

2022-03-02 Thread Adriano dos Santos Fernandes
On 3/2/22 05:17, Jiří Činčura wrote: >> But before attachment is done that does not happen and strings are >> returned as is (for example, error about non-existent file in Windows >> ANSI encoding). >> >> To convert charsets, database must be opened currently. > > That's sad. I'm facing exactly th

Re: [Firebird-devel] isc_arg_string in status vector

2022-03-02 Thread Jiří Činčura
> But before attachment is done that does not happen and strings are > returned as is (for example, error about non-existent file in Windows > ANSI encoding). > > To convert charsets, database must be opened currently. That's sad. I'm facing exactly that now with isc_create_database. :( -- Mgr.

Re: [Firebird-devel] isc_arg_string in status vector

2022-02-28 Thread Adriano dos Santos Fernandes
On 28/02/2022 07:17, Alex Peshkoff via Firebird-devel wrote: > On 2/28/22 13:10, Jiří Činčura wrote: >> Hi *, >> >> If I get pointer to a string in isc_arg_string in status vector the >> encoding is UTF8 if isc_dpb_utf8_filename was specified and >> ANSI/system charset when isc_dpb_utf8_filename wa

Re: [Firebird-devel] isc_arg_string in status vector

2022-02-28 Thread Alex Peshkoff via Firebird-devel
On 2/28/22 13:10, Jiří Činčura wrote: Hi *, If I get pointer to a string in isc_arg_string in status vector the encoding is UTF8 if isc_dpb_utf8_filename was specified and ANSI/system charset when isc_dpb_utf8_filename was not specified? Data in status vector should be according to attachme

Re: [Firebird-devel] isc_arg_string in status vector

2022-02-28 Thread Dimitry Sibiryakov
Jiří Činčura wrote 28.02.2022 11:10: If I get pointer to a string in isc_arg_string in status vector the encoding is UTF8 if isc_dpb_utf8_filename was specified and ANSI/system charset when isc_dpb_utf8_filename was not specified? It's encoding should match dpb_lc_ctype setting. isc_dpb_utf

[Firebird-devel] isc_arg_string in status vector

2022-02-28 Thread Jiří Činčura
Hi *, If I get pointer to a string in isc_arg_string in status vector the encoding is UTF8 if isc_dpb_utf8_filename was specified and ANSI/system charset when isc_dpb_utf8_filename was not specified? -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web interf