Re: DIALOG_PICKFILE() changes locale settings [message #67521] |
Tue, 04 August 2009 06:12 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Harald Jeszenszky writes:
> I have a problem with floating point numbers in IDL running under Windows XP
> (german installation). After starting IDL (Workbench or command line),
> floating point numbers are interpreted as expected. Once I open a file
> selection dialog, for some reason the locale settings are changed to german
> and floating point numbers are no longer displayed and handled properly:
>
> IDL> print, !version
> { x86 Win32 Windows Microsoft Windows 7.1 Apr 21 2009 32 64}
> IDL> print, 7.1
> 7.10000
> IDL> file=dialog_pickfile()
> IDL> print, 7.1
> 7,00000
>
> I am not sure if this problem concerns IDL, Eclipse or Windows XP. No other
> application shows this behaviour.
Weird. :-)
I'd try getting rid of your secret preferences file:
http://www.dfanning.com/workbench/pathfromhell.html
And I would make sure your Workbench is starting up in the
language you want to start it up in:
http://www.dfanning.com/workbench/languages.html
Maybe that will help.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|