bugGNU 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

Fri 19 May 2023 10:36:29 PM UTC, original submission:  

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

Bruno Haible <haible>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Submitted the item)
  •  

    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

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code