[Mono-dev] Maybe a System.Data.OracleClient.dll bug

Jörg Rosenkranz joerg.rosenkranz at gmail.com
Tue Sep 26 03:45:34 EDT 2006


Hi all,

I have attached a patch which should fix this problem.
Please check that it runs correctly because I can not build and test
this patch here.

Joerg.

2006/9/26, David <jiangchengyao at gmail.com>:
> Finally, I find a way to insert the string.
>
> In my sample;
>
> // insert 4 length chinese string to database
> parm.Value = "²âÊÔ²åÈë";
>
> // and give it eight space like :
> parm.Value = "²âÊÔ²åÈë        ";
>
> then all the string will insert into the database, and you will not
> see the space
> the string length in database is 4 as we expected.
>
> My conclusion is : parm.Value should be the string you want and plus
> the 2*string's length space
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OracleUTF8.patch
Type: application/octet-stream
Size: 1384 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060926/0ca48b66/attachment.obj 


More information about the Mono-devel-list mailing list