I am building a windows 10 UWP application (with the 10586 version of the sdk). I should mention that this library worked fine up until the latest build of the windows sdk was released. It now fails. Debugging is not the issue, i have run it as native with no debug symbols and it still generates an exception. The exception generated is listed in my original title. It appears that an encoding format required by the library is not supported by windows.