-
Notifications
You must be signed in to change notification settings - Fork 275
Open
Description
When building this image, locale def returns this to stderr:
LC_MONETARY: value of field int_curr_symbol' has wrong length
No definition for LC_PAPER category found
No definition for LC_NAME category found
No definition for LC_ADDRESS category found
No definition for LC_TELEPHONE category found
No definition for LC_MEASUREMENT category found
No definition for LC_IDENTIFICATION category found`
This line of code running from within the JVM fails to format the number with a dollar sign, as expected:
BigDecimal subTotalAmount = 1.00
NumberFormat.getCurrencyInstance(Locale.US).format(subTotalAmount)
If I run this same code with LANG=C (the alpine default), the number works correctly.
Metadata
Metadata
Assignees
Labels
No labels