Subject | Right-padded char fields? |
---|---|
Author | Kjell Rilbe |
Post date | 2008-09-01T09:00:21Z |
Hi,
In a databse with default charset UTF8 I have a couple of char(1) and
char(2) columns. I know these are implemented as char(4) and char(8)
behind the scenes to make room for the "worst case" encoding in UTF8,
but it seems that this shines through a bit too much.
In FlameRobin a select on these columns the displayed data is
right-padded with 3 and 6 spaces respectively.
Is this:
1. A Firebird bug?
2. A Firebird "feature" (= as designed)? (Why?)
3. A FlameRobin bug?
I don't like it.
Thanks,
Kjell
--
--------------------------------------
Kjell Rilbe
DataDIA AB
E-post: kjell@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64
In a databse with default charset UTF8 I have a couple of char(1) and
char(2) columns. I know these are implemented as char(4) and char(8)
behind the scenes to make room for the "worst case" encoding in UTF8,
but it seems that this shines through a bit too much.
In FlameRobin a select on these columns the displayed data is
right-padded with 3 and 6 spaces respectively.
Is this:
1. A Firebird bug?
2. A Firebird "feature" (= as designed)? (Why?)
3. A FlameRobin bug?
I don't like it.
Thanks,
Kjell
--
--------------------------------------
Kjell Rilbe
DataDIA AB
E-post: kjell@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64