Subject Re: [IBO] UTF8 as Client Character Set
Author Stefan Heymann
> I added in the use of Delphi's Encode/Decode functions when the CharSet
> property is set to UTF8.

Jason, I just looked at your source code and this is what I found in
IBODataset.pas:
tmpS := UTF8Decode( tmpS );

Is that what you mean?

tmpS is declared as "string", so it is an AnsiString. The Utf8Decode
function from the System unit delivers a WideString, which is then
assigned to your AnsiString variable.

I don't know what you are trying to do there, but IMO it's useless,
and it's wrong.

You could, however, translate UTF-8 to a WideString for an
"AsWideString" property or the like (I don't know if there is one).
"AsString" is declared as AnsiString and you can't deal with
WideStrings here.

May I repeat my question from my last posting? Will you come to Hamburg?


Regards

Stefan