Subject Re: [firebird-support] Re: CR/LF in SQL
Author Christian Gütter
Hi Peter,

>> does this really work for you?

> Yes, just modify and compile api3.c in the 'examples'
> directory.

Yes, this really works.

> How are you trying this? It only works in C, as the
> C compiler does the substitution of '\x0d\x0a' to the
> two bytes CR/LF. You can't test this in ISQL and you would
> need another escaping mechanism in Delphi, I guess.

I did not try it in C. I tried it using IBExpert. Of course,
it did not work. I think I misunderstood your suggestion.

And I think there was a general misunderstanding concerning
my question: I was not looking for an escaping mechanism in
Delphi, I was looking for an escaping mechanism on the server
(language and platform independent).

So Thomas' suggestion was the way to go for me.


Christian