poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60044] Regression in currency formatting for at least some xls in trunk
Date Thu, 25 Aug 2016 15:22:37 GMT

--- Comment #1 from Javen O'Neal <onealj@apache.org> ---
Could you provide a diff of the beta1 and beta3-rc1 output or a unit test to
make it easier to find the breaking change?

There were some changes to DataFormatter between these releases that improved
POI's locale-specific number formatting (comma is used as decimal separator
rather than a period).

My guess is that this commit [1] caused the regression. Can't quote the numbers
as that would give a string. Either change Xls2Csv to set the locale to format
with a period separator when the document's locale or the machine's locale use
comma decimal separator, or escape the commas and hope the CSV consumer knows
how to unescape it.

[1] https://svn.apache.org/viewvc?view=revision&revision=1747139

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message