Re: locale "de_DE.UTF-8", fscanf problem?

2014-01-01 Thread Tilman Kuepper
On Dec 17 17:49, Corinna Vinschen wrote: > On Dec 17 11:04, Corinna Vinschen wrote: > > On Dec 17 10:09, Tilman Kuepper wrote: > > > Hello, > > > > > > There seems to be an "unbalance" with fprintf and fscanf when using > > > the "

locale "de_DE.UTF-8", fscanf problem?

2013-12-17 Thread Tilman Kuepper
Hello, There seems to be an "unbalance" with fprintf and fscanf when using the "de_DE.UTF-8" locale. The following program correctly writes "2,5" (decimal comma) to a file. But reading with fscanf fails - the decimal comma is treated as "end of number". Regards, Tilman -- #inc