Date: Sat, 4 May 2024 06:21:11 +0300
> std::cout << std::chrono::August << "に" << std::endl;
...
> std::cout << std::chrono::August << u8"に" << std::endl;
...
> I think that these two statements, when the narrow literal encoding
> is UTF-8, must do the exact same thing.
>
> And so should these two:
>
> std::wcout << std::chrono::August << "に" << std::endl;
>
> std::wcout << std::chrono::August << u8"に" << std::endl;
Ideally, same applies for
std::cout << std::chrono::August << L"に" << std::endl;
and
std::wcout << std::chrono::August << L"に" << std::endl;
when the wide literal encoding is UTF-16 or UTF-32.
...
> std::cout << std::chrono::August << u8"に" << std::endl;
...
> I think that these two statements, when the narrow literal encoding
> is UTF-8, must do the exact same thing.
>
> And so should these two:
>
> std::wcout << std::chrono::August << "に" << std::endl;
>
> std::wcout << std::chrono::August << u8"に" << std::endl;
Ideally, same applies for
std::cout << std::chrono::August << L"に" << std::endl;
and
std::wcout << std::chrono::August << L"に" << std::endl;
when the wide literal encoding is UTF-16 or UTF-32.
Received on 2024-05-04 03:21:16