On 2/4/22 15:17, Dimitry Sibiryakov wrote:
Alex Peshkoff via Firebird-devel wrote 04.02.2022 12:59:
I suppose you suggest to fallback to existing way when there is no isc_dpb_lc_ctype in DPB?

  I suggest nothing but wonder what to do if there is no isc_dpb_utf8 tag in DPB but isc_dpb_lc_ctype is.
  Is it right to still consider values to be in ANSI encoding?

You know yourself that client may push any sheet in DPB. For client use of default ANSI codepage is good guess, not more.

What to do with values of tags that are unknown (other version or provider-specific)? I see no way to tell on destination side if they arrived as is or were transliterated.

Take a look at checkTag() functions in IntlParametersBlock.cpp. It's clear that items unknown to client library remain not transliterated.


Host name is not sent over the wire.
I doubt names resolver in system using (for example) cp1251 will accept host name in utf8.

  It is actually contrary: https://www.sql.ru/forum/actualthread.aspx?tid=1341790


According to documentation gethostbyname() & Co should work with current locale. But not sure what does it mean for windows.




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to