Version that passes new tests for both default and signed_zero flag set.
BUT had to suppress MSVC warning "C4244 conversion wchar_t* to char* may cause data loss."