We're updating the issue view to help you get more done. 

NaN Parse failures w currency formatter

Description

These are exhaustive test failures in ICU 63.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 monsterTest { **** FAIL: Parse of "\u00A4\u00A4\u00A4\u00A0\u00A4" failed. **** FAIL: Parse of "\u00A4\u00A4\u00A4\u00A0\u00A4" failed. **** FAIL: Parse of "\u00A4\u00A4\u00A4\u00A0\u00A4" failed. } ERRORS (3) in monsterTest (755ms) } ERRORS (3) in IntlTestNumberFormat (756ms) NumberFormatRoundTripTest { start { FAIL: fmt->parse failed, error U_INVALID_FORMAT_ERROR *** STRING ERROR "¤¤¤ ¤" != "0,00 ¤" Double F> ¤¤¤ ¤ P> 0 Long F> 0,00 ¤ FAIL: fmt->parse failed, error U_INVALID_FORMAT_ERROR *** STRING ERROR "¤¤¤ ¤" != "0,00 ¤" Double F> ¤¤¤ ¤ P> 0 Long F> 0,00 ¤ FAIL: fmt->parse failed, error U_INVALID_FORMAT_ERROR *** STRING ERROR "¤¤¤ ¤" != "0,00 ¤" Double F> ¤¤¤ ¤ P> 0 Long F> 0,00 ¤ } ERRORS (9) in start((1.5s)) } ERRORS (9) in NumberFormatRoundTripTest((1.5s))

The problem relates to the handling NaNs using currency formatters in the sw, sv and ksh locales.

Environment

Status

Assignee

Jeff Genovy

Reporter

Andy Heninger

Reviewer

Shane Carr

Components

Fix versions

Priority

medium