On Saturday, 19 December 2015 at 13:20:03 UTC, Marc Schütz wrote: > As this is going to be passed to a C function No, ODBC API is designed with multilingual capability in mind, it doesn't rely on null terminated strings heavily: all string arguments support length specification.