[Bug c++/106655] [C++23] P2295 - Support for UTF-8 as a portable source file encoding

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 1 09:42:48 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106655

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Implemented now.  One needs to use -std=c++23 -finput-charset=UTF-8
-pedantic-errors to get invalid UTF-8 pedantically rejected.


More information about the Gcc-bugs mailing list