Re: ESQL/C FETCH of CHAR data delivers to much data for UTF-8

2020-01-10 Thread Olivier Gautherot
Hi Matthias, On Thu, Jan 9, 2020, 20:21 Matthias Apitz wrote: > Hello, > > We encounter the following problem with ESQL/C: Imagine a table with two > columns: CHAR(16) and DATE > > The CHAR column can contain not only 16 bytes, but 16 Unicode chars, > which are longer than 16 bytes if one or mor

ESQL/C FETCH of CHAR data delivers to much data for UTF-8

2020-01-09 Thread Matthias Apitz
Hello, We encounter the following problem with ESQL/C: Imagine a table with two columns: CHAR(16) and DATE The CHAR column can contain not only 16 bytes, but 16 Unicode chars, which are longer than 16 bytes if one or more of the chars is a UTF-8 multibyte encoded. If one provides in C a host str