Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002771 [Quercus] block always 07-07-08 11:56 07-10-08 12:42
Reporter fredo View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.1.6
Summary 0002771: quercus sprinf and hence DoublePrintfSegment.apply applies local to format-conversion
Description java's String.format(fmt, ...) will apply locale information upon
format-conversion which breaks several php modules which are
dependent on proper *printf output. (ie. TCPDF)

a simple fix is to change to:

String.format((Locale)null, fmt, ...)

to have standard "C" locale output as php5 uses.
Additional Information
Attached Files

- Relationships

- Notes
(0003253)
nam
07-10-08 12:42

php/115j

sprintf("%f") now will use the locale set by setlocale()
sprintf("%F") will not use locale information
 

- Issue History
Date Modified Username Field Change
07-07-08 11:56 fredo New Issue
07-10-08 11:41 nam Status new => assigned
07-10-08 11:41 nam Assigned To  => nam
07-10-08 12:42 nam Status assigned => closed
07-10-08 12:42 nam Note Added: 0003253
07-10-08 12:42 nam Resolution open => fixed
07-10-08 12:42 nam Fixed in Version  => 3.2.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker