A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1122 ====================================================================== Reported By: joerg Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1122 Category: System Interfaces Type: Enhancement Request Severity: Editorial Priority: normal Status: New Name: Jörg Schilling Organization: User Reference: Section: 3 + 4 Page Number: 1102...and others Line Number: somewhere in section 3 and 4 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2017-02-28 16:51 UTC Last Modified: 2018-08-09 21:40 UTC ====================================================================== Summary: POSIX should include gettext() and friends ======================================================================
---------------------------------------------------------------------- (0004081) bhaible (reporter) - 2018-08-09 21:40 http://austingroupbugs.net/view.php?id=1122#c4081 ---------------------------------------------------------------------- What APIs would be useful in POSIX instead? - For all functions that are affected by the current locale (from mbrtowc to fprintf), there should be variants suffixed with _l that additionally take a locale_t argument. - There should be an accessor that returns the external name (e.g. "ll_CC") of a locale_t with respect to a certain category. - There should be a way for a library to install a hook (callback) that gets invoked when the global locale changes (through a call to setlocale()). - The locale_t type should be made extensible, like the "facets" in the C++ std::locale type. These are the real problems around locales in POSIX currently! Issue History Date Modified Username Field Change ====================================================================== 2017-02-28 16:51 joerg New Issue 2017-02-28 16:51 joerg Name => Jörg Schilling 2017-02-28 16:51 joerg Section => 3 + 4 2017-02-28 16:51 joerg Page Number => 1102...and others 2017-02-28 16:51 joerg Line Number => somewhere in section 3 and 4 2017-03-01 16:05 steffen Note Added: 0003575 2017-03-01 16:54 shware_systems Note Added: 0003576 2017-03-01 17:10 joerg Note Added: 0003577 2017-03-01 17:10 joerg Note Edited: 0003577 2017-03-01 17:11 steffen Note Added: 0003578 2017-03-01 17:13 steffen Note Added: 0003579 2017-03-01 17:23 joerg Note Added: 0003580 2017-03-01 17:27 joerg Note Edited: 0003580 2017-03-01 18:09 joerg Note Edited: 0003580 2017-03-01 22:37 steffen Note Added: 0003581 2017-03-02 06:39 shware_systems Note Added: 0003582 2017-03-02 09:09 joerg Note Added: 0003583 2017-03-02 09:40 keld Note Added: 0003584 2017-03-02 09:56 keld Note Added: 0003585 2017-03-02 14:41 steffen Note Added: 0003586 2017-03-02 17:01 keld Note Added: 0003587 2017-03-03 04:42 shware_systems Note Added: 0003588 2017-03-03 16:44 joerg Note Added: 0003596 2017-03-03 21:21 EdSchouten Note Added: 0003603 2017-03-05 00:12 keld Note Added: 0003608 2017-03-05 00:13 keld Note Edited: 0003608 2017-03-05 00:14 keld Note Edited: 0003608 2017-03-05 00:17 keld Note Edited: 0003587 2017-03-06 10:28 joerg Note Added: 0003609 2017-03-06 10:28 joerg Note Edited: 0003609 2017-03-06 10:33 joerg Note Added: 0003610 2017-03-06 10:33 joerg Note Edited: 0003610 2017-04-05 05:49 shware_systems Note Added: 0003659 2018-08-09 16:06 eblake Note Added: 0004076 2018-08-09 21:35 bhaible Note Added: 0004079 2018-08-09 21:39 bhaible Note Added: 0004080 2018-08-09 21:40 bhaible Note Added: 0004081 ======================================================================
