C++ Logo

sg16

Advanced search

Re: utfN_view

From: Jens Maurer <jens.maurer_at_[hidden]>
Date: Thu, 4 May 2023 08:20:29 +0200
On 04/05/2023 03.58, Zach Laine via SG16 wrote:
>> I don't think the operator<< above works as a general-purpose method regardless. What does it do when CharT is wchar_t?
>
> It transcodes to UTF-16, of course.

I hope not. On my box, wchar_t is not UTF-16, it's UTF-32.

Jens

Received on 2023-05-04 06:20:34