Subject | Re: [firebird-support] UTF8 in Blob, subtype Text & IBObjects |
---|---|
Author | Minoru Yoshida |
Post date | 2008-11-20T09:53:40Z |
"Martijn Tonies" <m.tonies@...>
Wed, 19 Nov 2008 14:37:13 +0100 wrote:
The problem of a characters(and situation) is difficult for me.
The following is my situation and solution.
http://timeful.co.jp/reports/
This subject is appropriate to the IBO ML?
--
Regards,
Minoru
Wed, 19 Nov 2008 14:37:13 +0100 wrote:
>> > >> - V4.8.7I'm not using TIBO classes, don't have the license.
>> > >> - Using IB_Grid
>> > >> - UTF8 client connection
>> > >>
>> > >> I think that specification of IBO...
>> > >
>> > >Are you telling this works for you? In both the varchar and blob?
>> > >(do note, I'm using TIBOQuery, not a IB_Grid)
>> >
>> > You must be *displaying* the blob in something. Even the VCL controls
>> (including TDBMemo and TMemo) all have a font.Charset property that's just
>> defaulted unless you set it to be aware of the charset of the data. So
>what
>> you're after is a streamable control that offers similar for UTF8. I
>> suspect you will need the TNT controls to handle that.
>> >
>>
>> Yes, in a grid, obviously.
>>
>> But that's not what I'm asking --
>>
>> I'm saying it displays fine for VARCHAR, but not for a Text Blob.
>>
>> Why is there a difference? Is it IBO, should I change something?
>>
>> Or is it something else?
>
>Checking the source, I can see that TIBODataset has a TIBOBlobStream
>that checks to see if it's a UTF8 connection and sets a flag, yet, the
>display
>is wrong.
>
>TIBOBlobStream.Create:
>
>...
> if UTF8_String then
> String_Buffer := UTF8Decode( String_Buffer );
>...
>
>So, what's the deal here?
The problem of a characters(and situation) is difficult for me.
The following is my situation and solution.
http://timeful.co.jp/reports/
This subject is appropriate to the IBO ML?
--
Regards,
Minoru