This never worked correctly as using operator<<() with wchar_t pointer just fell back to the overload for void pointers, i.e. printed out the address of the wide string, which wasn't especially useful, but with C++20 it doesn't even compile, as this overload is explicitly deleted. Fix both problems at once by actually doing something useful for it instead and printing out data in either current encoding or UTF-8 if converting it to the current encoding failed.
156 KiB
156 KiB