Re: [Firebird-devel] Charset of plugin configuration parameters

2021-04-20 Thread Adriano dos Santos Fernandes
In Windows we already consider ANSI code page to be the "system charset". I think config files should be handled as ANSI encoded in Windows. About UTF-8 BOM, many tools also does not recognize it. Adriano Firebird-Devel mailing list, web interface at

Re: [Firebird-devel] Charset of plugin configuration parameters

2021-04-20 Thread Kjell Rilbe
Den 2021-04-19 kl. 17:52, skrev Alex Peshkoff via Firebird-devel: On 4/19/21 6:43 PM, Dimitry Sibiryakov wrote:  In my own recent config parsers I separate ANSI files from UTF-8 files by BOM and handle them accordingly but I use Unicode for internal processing which Firebird doesn't.

Re: [Firebird-devel] Charset of plugin configuration parameters

2021-04-19 Thread Alex Peshkoff via Firebird-devel
On 4/19/21 6:59 PM, Dimitry Sibiryakov wrote: 19.04.2021 17:52, Alex Peshkoff via Firebird-devel wrote: Telling true I doubt that separating ANSI from UTF8 is actual - noone (well, almost noone) will use utf8 on windows or ANSI on linux. What may be interesting (and does cause troubles) is

Re: [Firebird-devel] Charset of plugin configuration parameters

2021-04-19 Thread Dimitry Sibiryakov
19.04.2021 17:52, Alex Peshkoff via Firebird-devel wrote: Telling true I doubt that separating ANSI from UTF8 is actual - noone (well, almost noone) will use utf8 on windows or ANSI on linux. What may be interesting (and does cause troubles) is separating OEM vs. ANSI on windows. Notepad

Re: [Firebird-devel] Charset of plugin configuration parameters

2021-04-19 Thread Alex Peshkoff via Firebird-devel
On 4/19/21 6:43 PM, Dimitry Sibiryakov wrote:  In my own recent config parsers I separate ANSI files from UTF-8 files by BOM and handle them accordingly but I use Unicode for internal processing which Firebird doesn't. Telling true I doubt that separating ANSI from UTF8 is actual - noone

Re: [Firebird-devel] Charset of plugin configuration parameters

2021-04-19 Thread Dimitry Sibiryakov
19.04.2021 17:33, Alex Peshkoff via Firebird-devel wrote: Before discussing charset of returned config parameters we should what charset is used for .conf files. As far as I'm aware it's not standartized now. That's why I created CORE-5198 years ago. Probably most of .conf files are filled

Re: [Firebird-devel] Charset of plugin configuration parameters

2021-04-19 Thread Alex Peshkoff via Firebird-devel
On 4/15/21 8:30 PM, Dimitry Sibiryakov wrote: 15.04.2021 18:28, Alex Peshkoff via Firebird-devel wrote: It transfers data from config file 'as is', I suppose that matches charset none.  If parameter's value is a connection string or an user name it would cause troubles for using them.

Re: [Firebird-devel] Charset of plugin configuration parameters

2021-04-15 Thread Dimitry Sibiryakov
15.04.2021 18:28, Alex Peshkoff via Firebird-devel wrote: It transfers data from config file 'as is', I suppose that matches charset none. If parameter's value is a connection string or an user name it would cause troubles for using them. -- WBR, SD. Firebird-Devel mailing list, web

Re: [Firebird-devel] Charset of plugin configuration parameters

2021-04-15 Thread Alex Peshkoff via Firebird-devel
On 4/15/21 6:49 PM, Dimitry Sibiryakov wrote:  Hello All.  Is there a way to know the charset of a string returned by IConfigEntry::getValue()? It transfers data from config file 'as is', I suppose that matches charset none. Firebird-Devel mailing list, web interface at

[Firebird-devel] Charset of plugin configuration parameters

2021-04-15 Thread Dimitry Sibiryakov
Hello All. Is there a way to know the charset of a string returned by IConfigEntry::getValue()? -- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel