Subject | Re: Wrong field length with connection charset UTF8 |
---|---|
Author | skoczian |
Post date | 2009-01-11T20:43:17Z |
--- In firebird-python@yahoogroups.com, Uwe Grauer
<uwemailmeister@...> wrote:
depends only on the connection charset, not on the column charset in
the database, exactly as Andreas describes it. It happens even with a
column declared with character set ASCII, which could never need
additional bytes.
Regards,
Sibylle
<uwemailmeister@...> wrote:
>One thing seems not really clear in that thread: that this padding
> Uwe Grauer wrote:
> > Andreas Hesse wrote:
> >> I notice a wrong field length with connection charset UTF8.
> >> All field length are 4 times greater as their defined length.
> >> Problems appears with fixed length char fields.
> >> A field with defined as CHAR(1) will produce output as 'A ' with 3
> >> trailing blanks.
> >>
> The thread with subject "Right-padded char fields?" on firebird-support
> from Sep 1 2008 has more info on this.
>
depends only on the connection charset, not on the column charset in
the database, exactly as Andreas describes it. It happens even with a
column declared with character set ASCII, which could never need
additional bytes.
Regards,
Sibylle