On Tue, 17 Nov 2020, Lewis Hyatt via Gcc wrote: > I also just wanted to ask... in case we have a general system to > always convert diagnostics output to the current locale, would this > make identifier_to_locale() no longer necessary in most cases? That
Format strings come from the message catalog in the locale character set (translated by gettext as needed). So GCC mustn't do any further translation on the format strings for diagnostics - but does need to translate anything else from its internal representation that's not in the locale character set, such as identifiers. -- Joseph S. Myers jos...@codesourcery.com