[cvsnt] Re: Help with Audit

Tony Hoyle tony.hoyle at march-hare.com
Wed Feb 15 16:38:25 GMT 2006


Bo Berglund wrote:
> Clovis,
> my response was really directed towards Tony rather than you.
> He is the one who can check what is going on in the plugin.
> 
> We are using MSSQL in our products and we found that the queries
> that put textual data into the database *must* specify the unicode
> designator N in front of the string parameter being sent to the
> server. We solve this transparently in our case by using a class
> method to create a SQL compatible parameter string so we need not
> bother ourselves to do this. The CVSNT audit plugin is unfortunately
> written i C++ so I cannot do anything about this since I cannot
> untangle the code at all...
>
That kinda sucks.  In theory though it shouldn't matter so much - it'll 
just take the unicode string it's passed and covert it to the database 
ANSI codepage first... which isn't particularly fatal if the database 
supports the characters you are using.. it's just a bit stupid that's all.

Tony



More information about the cvsnt mailing list