Subject | Re: [firebird-support] Bug with character sets |
---|---|
Author | Martijn Tonies |
Post date | 2009-05-20T07:20:23Z |
Hello Vlad,
why does Milan require the "bytes_per_character", if he decodes the
string, he can trim to the number of N characters, right?
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!
Database questions? Check the forum:
http://www.databasedevelopmentforum.com
>>>>1. What does Milan's code know that fbclient doesn't?Is N stored in the client side struct (SQLDA, or what's it called?) If so,
>>>
>>> Length of string in characters.
>
> For CHAR(N) fileds string length in characters is always N, for
> VARCHAR(N)
why does Milan require the "bytes_per_character", if he decodes the
string, he can trim to the number of N characters, right?
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!
Database questions? Check the forum:
http://www.databasedevelopmentforum.com