From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5C86D3858029; Fri, 2 Feb 2024 13:51:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C86D3858029 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706881866; bh=lTdYi/C8vJzuKd6ZdVtjK/xz3GdFhS3WNDUIzOch+LA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dmLBFyr7SedpB6dbjJI/5zqrmyhVb30pM4C42iW3MTF8KkKffjH796+aFdLW7uk8A 3n1rYHXqUzN4hXjs8kFhNu16go9EWBBkBeGWokjd0pDGtJ3Fgo5BZEIE6mEbojJjcd cfVgLHUhCqyEqr6fuXWxLTE54joPnRYER5CJs9Ds= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/113318] [C++26] Implement P1885R12, Naming text encodings to demystify them Date: Fri, 02 Feb 2024 13:51:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113318 --- Comment #8 from Jonathan Wakely --- I have a patch to add partial std::text_encoding support on Windows, using GetACP() and _MSVC_EXECUTION_CHARACTER_SET to query the system codepage and= the execution charset codepage, and then mapping from Windows codepage identifi= ers to IANA mib values.=