The source of this problem is a JDK bug (tested against SUN), where the NumberFormat has some problems
See here for the Sun JDK:
A simple Java-test fails and shows why:
String va = "12 345,68 €";
NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.FRANCE);
Number n = (Number) nf.parseObject(va);
and you'll see that n is NULL.
So, here it is:
the String va contains to blanks (" "), which are between 2 and 3, and
between 8 and € as well...
In fr_FR, however, the *grouping separator * is not " ", but it is a
nb space (\u00a0).
So, my little test will pass, when the first BLANK (only) is replaced by the
(in that case, the String would look like: "12\u00a0345,68 €"
I thought, that the NumberFormat actually does parse the object for me.
Looks like (for fr_FR) I have to create a custom parser...