fixed unicode issue with group char (french locale)
a more general fix for groupChar and decimalChar