Subject Re: [firebird-support] Bug with character sets
Author Martijn Tonies
Hello Vlad,

>>>>1. What does Milan's code know that fbclient doesn't?
>>>
>>> Length of string in characters.
>
> For CHAR(N) fileds string length in characters is always N, for
> VARCHAR(N)

Is N stored in the client side struct (SQLDA, or what's it called?) If so,
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