Re: [Firebird-devel] Odp: Firebird 3 API demo usage with Pascal

2015-03-10 Thread Geoff Worboys
Alex Peshkoff wrote: > On 03/07/15 09:28, liviusliv...@poczta.onet.pl wrote: >> >> I've not been following FB3 stuff closely but I'm assuming the >> API will be working with UTF-8 strings. > That's not exactly correct. Firebird is using OS support to convert from > OS default encoding to UTF-8. On

Re: [Firebird-devel] Odp: Firebird 3 API demo usage with Pascal

2015-03-10 Thread Alex Peshkoff
On 03/07/15 09:28, liviusliv...@poczta.onet.pl wrote: > > I've not been following FB3 stuff closely but I'm assuming the > API will be working with UTF-8 strings. That's not exactly correct. Firebird is using OS support to convert from OS default encoding to UTF-8. One can use utf8 strings, but

[Firebird-devel] Odp: Firebird 3 API demo usage with Pascal

2015-03-06 Thread liviusliv...@poczta.onet.pl
Hi, Yes i know that, and becauae of that i finally fix this with aliasing in fbapi unit Pchar = PAnsiChar I do this only to got some results from api I finall implementation i do this better and replace PChar in fbapi as some internal type like PFBChar and this type for delphi i change as PAnsi