new method for retrieving the format string in the decimal formatter
fixed issue when the groupingSeparator was an utf-8 multibyte char (closes #258)