From:
<car...@te...> - 2003-11-17 10:06:02
|
Hello: > Exception: > > An unhandled exception of type 'System.InvalidOperationException' occurred > in firebirdsql.data.firebird.dll > > Additional information: Invalid length of 10 bytes, max length allowed 5 > bytes, for parameter @win1251 index 1 I know this, i have the smae problem this weekend ;) it's changed already in the CVS for make the comparsion over the character count instead of the byte count. But with an example like there are problems too: 1. If i send the data encoded using the connection character set ( in this case UNICODE_FSS ) the win1251 value is going to give more bytes than the sqllen sent by the server for this field. 2. If i send the data using the field character set ( that is how it's in the CVS ) we are going to get te "Cannot transliterate characters between character sets". -- Best regards Carlos Guzmán Álvarez Vigo-Spain |