← Back to team overview

kicad-developers team mailing list archive

Re: Broken setlocale in sim/ngspice.cpp

 

On 08/15/2016 03:03 PM, jp charras wrote:
> The reason is setlocale( LC_ALL, "" ); switches the locale to the system locale, not the previously
> set locale.
> It creates serious issues if the previous locale or the Kicad locale is not the system locale.
> (For instance if you are using inside Kicad an other language than the default)
> 
> It creates serious issues especially when the system fp separator is the comma instead of the point.
> Usually the floating point validators in dialogs become broken and fp values can be no more entered.
> And these issues are not easy to fix (I spent time to understand what happened and to fix that issue)

Hi Jean-Pierre,

Understood, thank you for the notice. I have fixed the code in revision
7036.

Regards,
Orson

Attachment: signature.asc
Description: OpenPGP digital signature


References