Issues

Select view

Select search mode

 

LSNumberFormat Wrong result

Won't Fix

Description

I have a simple problem with lsnumber format in german austria locale.

the result is 4 241,09 the correct should be 4.241,09

Environment

docker-CommandBox image jdk11-5.3.5

commandBox 5.5.2

jdk11

lucee 5.3.9.141

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 13 July 2022 at 12:05
Updated 9 August 2024 at 12:16
Resolved 9 August 2024 at 11:59

Activity

Show:

Zac Spitzer9 August 2024 at 11:59
Edited

Lucee simply returns what the JVM uses, ascii 160, a non breaking space, java 8 is rather old

https://www.localeplanet.com/java/de-AT/index.html

https://www.ascii-code.com/CP1252/160

Actually, ACF returns with two leading spaces, Lucee with one

Pothys - MitrahSoft14 July 2022 at 06:38

I've checked this ticket on the lucee latest version 5.3.10.28-SNAPSHOT with java 8, 11 & 14.

#lsnumberformat("4241.09","999,999.99","German (Austrian)")#

lucee in java 8
4.241,09

Both lucee & ACF in java11 & 14 returns the same result

4 241,09

will decide about this.

Flag notifications