From:
<car...@te...> - 2004-05-04 09:52:03
|
Hello: >I have a CHAR(32) field in my database using UNICODE_FSS as charset >trying to insert a string of 32 chars using >INSERT MyTable (ColumnName) VALUES (?) >causes an exception in GdsInetWriter.WriteOpaque >in the line Write(fill, 0, len - buffer.Length); > Huumm can you send a test case ?? What version of the .NET provider are you using ?? What character set are you using in the connection string ?? And in the database ?? And in the Field ?? 8-) >the value of len is 32 (presumably the size of the CHAR(32) field) >buffer.Length is 96 (why it is not 64 I don't know... thought unicode >was 2 bytes per char) > It's 3 bytes per character. -- Best regards Carlos Guzmán Álvarez Vigo-spain |