On 04/18/18 10:01, Dev wrote:
What encoding is used for in/out strings in:
function IProvider.attachDatabase(status: IStatus; fileName: PAnsiChar; 
dpbLength: Cardinal; dpb: BytePtr): IAttachment;
function IProvider.createDatabase(status: IStatus; fileName: PAnsiChar; 
dpbLength: Cardinal; dpb: BytePtr): IAttachment;

is utf8?

It may be in OS locale/codepage and my be in utf8 - depending upon presence of isc_dpb_utf8_filename in DPB. Pay attention - it affects not only file name but also all string parameters in DPB.

Is there are functions in new api where encoding of strings is depends on 
operating system locale/codepage or on connection character set?

I suppose that SQL statements in prepare/execute calls should be in connection charset but never used to try it carefully.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to