You can clone with
HTTPS or Subversion.
I have an issue with error messages from ''RAISERROR'' because they are sent as UCS2 but on client side translated to ANSI (CP_ACP). If I change the first parameter of ::WideCharToMultiByte to CP_UTF8 (2 times) then all error messages are translated correctly.
You can test this with the sql statement
RAISERROR('größer', 16, 1)
complete source of w2a:
string w2a(const wchar_t* input)
int length = ::WideCharToMultiByte(CP_UTF8, 0, input, -1, nullptr, 0, nullptr, nullptr);
if (length > 0)
// length includes null terminator
::WideCharToMultiByte(CP_UTF8, 0, input, -1, messageBuffer.data(), messageBuffer.size(), nullptr, nullptr);
Thanks for this! I can fix it myself, but that will take a while. Or, you could complete a CLA and submit a pull request with this change. Unfortunately I wish I could say that it wouldn't take that long either, but it would probably be sooner than waiting for me to fix it.
Again, thanks for this.
I have compiled the sources on my machine and it works fine for me. I have already forked the source and commited the changes but it was a pain for me. I am new to git and it makes me crying! I love tortoisehg...
So I will look for this CLA and will send it to you.
I had also troubles at compiling the sources because it says that I have the wrong C++ version. I had to disable this warnigns in
to compile successfully.
I have installed Visual Studio 2012 Professional but compiled with nodegyp. I read about changes in source code to make the things work a few months ago but for me it didn't work.