Subject | Re: Length of getString changes in FB 2.0. |
---|---|
Author | Roman Rokytskyy |
Post date | 2007-02-20T06:25:07Z |
Hi,
(and it affected also other encodings), but at the moment it is hard
to say.
Can you post a code that works differently in FB 1.5 and FB 2.0? Do
you simply compare the rs.getString(...).length() values?
Thanks!
Roman
> I made the database that its default character set is SJIS_0208.Hard to say. There were changes in how Firebird 2.0 handles unicode
> Then I create CHAR(1) specified charset ASCII. When using getString
> from client (lc_ctype=SJIS_0208),
> a length of value is 1-byte in FB 1.0, 1.5. But in FB 2.0 it become
> 2-byte.
>
> Is there any change in specification ?
(and it affected also other encodings), but at the moment it is hard
to say.
Can you post a code that works differently in FB 1.5 and FB 2.0? Do
you simply compare the rs.getString(...).length() values?
Thanks!
Roman