#include <iostream>
#include <format>
int main()
{
char ch = -1;
std::cout << std::format("cout: {:d}\r\n", ch);
std::wcout << std::format(L"wcout: {:d}\r\n", ch);
}
The output:

Shouldn't the result be the same?
VS 16.11.5
Unfortunately I can't test in VS 17 at the moment.