On 07/04/13 14:09, Florian Weimer wrote:
> What happens is that the JVM initialization in JNI_CreateJavaVM() calls > setlocate. This seems to change the behavior of READ. I don't know enough > about gfortran to judge whether READ should follow the libc locale or not. All I can say is that I don't observe the same behavior when calling JNI_CreateJavaVM() from C++ (using stringstreams for the string->double conversion) - so it seems that the C++ standard library doesn't follow the libc locale. Cheers, Martin