I need to move my entire project to unicode and SOCI is the only thing holding me back, so I would be *very* interested in your patch. I am hoping that with an #ifdef it should compile for UTF-8 and unicode.
BTW I'm also getting unicode-related errors in backend-loader.cpp, in LoadLibrary(), I assume this has to be hacked too? thanks, -- Peter Sören Meyer-Eppler wrote: > I have patched my own unicode (std::wstring) support into the ODBC backend. > > I have also updated the regular ODBC to use dynamic buffers instead of > the fixed maximum sizes as it currently uses. > > I have changed string handling from 0 terminated strings to using string > sizes, i.e. 0 bytes are allowed now, even in regular ASCII strings. > > If anybody is interested in these changes I'll clean the code up and > post/commit a patch somewhere. > > I'll be away hiking over the weekend, so it may take awhile... > > cheers, > > Sören > ------------------------------------------------------------------------------ _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
