GNU gettext - Bugs: bug #64223, Support newer PHP format strings
You are not allowed to post comments on this tracker with your current authentication level.
bug #64223: Support newer PHP format strings
Submitter: | Bruno Haible <haible> | ||
Submitted: | Fri 19 May 2023 10:36:29 PM UTC | ||
Category: | PHP | Severity: | 3 - Normal |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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.
No changes have been made to this item
Powered by Savane 3.13-02a9.
Corresponding source code
According to https://www.php.net/manual/en/function.sprintf.php, PHP format strings now support more format directives:
E Like the e specifier but uses uppercase letter (e.g. 1.2E+2).
F The argument is treated as a float and presented as a floating-point number (non-locale aware).
g General format.
G Like the g specifier but uses E and f.
h Like the g specifier but uses F. Available as of PHP 8.0.0.
H Like the g specifier but uses E and F. Available as of PHP 8.0.0.
GNU gettext should support them as well.
Reported by José Luis Jiménez Fernández <jjimenez@interhost.com> in https://lists.gnu.org/archive/html/bug-gettext/2023-05/msg00037.html