>>>>> "Dom" == Dom Lachowicz <[EMAIL PROTECTED]> writes:

Dom> Hi, I'd just like to remind everyone about an important part of
Dom> localization - setlocale(). I've been chasing a few bugs in the
Dom> tree caused by people not using setlocale().

Dom> When should you use it? At least before and after every sprintf()
Dom> that has a numeric value. We've got to make sure that these
Dom> formatted numbers work right (our number parsing routines don't
Dom> know what to do with 8,500in and they shouldn't have to - 8.500in
Dom> is the standard we're sticking to).

This should be documented somewhere!   In the coding standard even, I
think.  A developer starting tomorrow will have missed your message.

Jesper


Reply via email to