On Wednesday 18 Jan 2012 13:21:24 lars.kn...@nokia.com wrote: > On 1/18/12 12:35 PM, "ext Thiago Macieira" <thiago.macie...@intel.com> > >On Wednesday, 18 de January de 2012 00.47.31, John Layt wrote:
> >> Other classes call public QLocale methods for number symbols like > >> decimalPoint() and negativeSign() to use in their own custom > >>char-at-a-time > >> parse/format routines which will cause an issue as ICU / CLDR define > >>these > >> symbols as strings and not chars. > > I think we need to change the QLocale API here. IIRC there are a few > locales where the decimal point is more than one char. The only safe thing > is a QString, but we might want to also offer a lower level API that gives > a const QChar * pointer and a length. Yep, it's marked as API needing to change in Qt5, I just need to change the code that calls it in QTextStream and QSpinBox first. I suspect QSpinBox doesn't really need the low level parse access and can use QLocale directly, but QTextStream will probably still need its own parser. John. _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development