ban-dana opened a new pull request, #271: URL: https://github.com/apache/logging-log4net/pull/271
It turns out that the default charset for the DllImport is Ansi which screws unicode strings on their way to the win32 OutputDebugString. Set the CharSet explictly, also added a unit test (though, there seems to be no way of easily verifying that the actual api was indeed called and the data marshalled properly). I can think of something Detours-based, but maybe that's an overkill for such a simple thing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org