GNU gettext - Bugs: bug #54479, libintl_setlocale(LC_ALL,...
You are not allowed to post comments on this tracker with your current authentication level.
bug #54479: libintl_setlocale(LC_ALL, "") fails under some locales in macOS
Submitter: | Dapeng Gao <dpgao> | ||
Submitted: | Thu 09 Aug 2018 01:33:27 PM UTC | ||
Category: | End-user / runtime | Severity: | 3 - Normal |
Item Group: | None | Status: | Fix Released |
Privacy: | Public | Assigned to: | haible |
Open/Closed: | Closed |
Jump to the original submission
Sun 15 Sep 2019 11:41:10 PM UTC, comment #6: |
Bruno Haible <haible> |
Thu 09 May 2019 07:31:05 PM UTC, comment #5: The fix is contained in the gettext-0.20 release. |
Bruno Haible <haible> |
Sun 16 Sep 2018 09:01:42 AM UTC, comment #4: I did not use the patch from https://lists.gnu.org/archive/html/bug-gettext/2018-08/msg00017.html because
|
Bruno Haible <haible> |
Sun 16 Sep 2018 01:30:11 AM UTC, comment #3: With the new code, your test program main.c produces the output
|
Bruno Haible <haible> |
Sun 16 Sep 2018 01:11:52 AM UTC, comment #2: Thanks for the report and test case.
|
Bruno Haible <haible> |
Thu 09 Aug 2018 02:17:57 PM UTC, comment #1: After reading the code I think the problem arises on line 855 of `setlocale.c', where a call like `setlocale_unixlike (LC_ALL, "UTF-8")' will fail on macOS. This is because
|
Dapeng Gao <dpgao> |
Thu 09 Aug 2018 01:33:27 PM UTC, original submission:
When the system region and language in macOS are set to certain combinations (e.g. Region = Hong Kong, Language = English), the output of the `locale' command will appear as follows:
|
Dapeng Gao <dpgao> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2023-01-04 | haible | Status | Fixed | Fix Released | |
2018-09-16 | haible | Status | None | Fixed | |
Assigned to | None | haible | |||
Open/Closed | Open | Closed | |||
2018-08-09 | dpgao | Attached File | - | Added main.c, #44756 |
Powered by Savane 3.13-f8d8.
Corresponding source code
An improvement was added on 2019-05-20:
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=661c55d6c287e1e6122e0ec03668ec859b6d806a
It will be contained in gettext-0.21.