Re: [firebird-support] Problem with inserting data
Author
Ivan Prenosil
Post date
2003-06-16T11:22:32Z
----- Original Message -----
From: "Piotr" <prpeter@...>
> I would like to ask, how can I insert UNICODE data from program written
> in C++.
> When I was trying to write byte by byte, the query (two bytes per
> character) - the result was 0-terminated string. Unfortunetly isc_dsql_prepare
> gets typical c, 0-terminated string, so it did not process entir
> query.
>
> My question is, how can I pass unicode string into firebird system
> fuctions ?
Firebird does not use two byte unicode coding, instead is uses
variable length Unicode_fss coding, that is compatible with zero-terminated strings.