Subject | Re: [IBO] UTF-8 handling |
---|---|
Author | Stefan Heymann |
Post date | 2007-11-07T08:46:56Z |
Jason,
IB_Components.pas and IBODataset.pas that go along the lines of:
{$IFDEF IBO_VCL60_OR_GREATER}
if Statement.IB_Connection.CharSet = IBO_UTF8 then
Result := UTF8Decode( Value )
else
{$ENDIF}
Result := Value;
(I searched the whole source for the IBO_UTF8 constant)
So can I just skip all these Utf8Decode/Utf8Encode calls?
(I don't get over it. I still think it's not correct to give a special
treatment to UTF8 client connections ... ;-)
Regards
Stefan
--
Stefan Heymann, Tübingen, Germany
> I wouldn't go back to an earlier version if I were you.I didn't find one line. However, I found several occurences in
> You can tweak the code so that it won't transliterate.
> Find the one line of code where it sets the internal boolean that determines
> whether it will transliterate or not and hard code it to false and then
> rebuild your packages.
IB_Components.pas and IBODataset.pas that go along the lines of:
{$IFDEF IBO_VCL60_OR_GREATER}
if Statement.IB_Connection.CharSet = IBO_UTF8 then
Result := UTF8Decode( Value )
else
{$ENDIF}
Result := Value;
(I searched the whole source for the IBO_UTF8 constant)
So can I just skip all these Utf8Decode/Utf8Encode calls?
(I don't get over it. I still think it's not correct to give a special
treatment to UTF8 client connections ... ;-)
Regards
Stefan
--
Stefan Heymann, Tübingen, Germany