Using CS_NULLTERM with Open Client/Server routines

When passed to a Client-Library, Server-Library, or CS-Library routine as a buffer’s length, CS_NULLTERM indicates that the value contained in the buffer is null-terminated (terminated with a single byte with value 0).

Some character sets do not support unambiguous null-terminated strings. Do not use CS_NULLTERM if your application needs to support these types of character sets.