This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Dec 17 10:09, Tilman Kuepper wrote:
> 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
> 
> --------------
> [...testcase...]

Weird.  I was pretty sure that scanf is doing the right thing, but
apparently it doesn't.  Thanks a lot for the testcase, I'll have a look
into this issue.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpvhavXsNZCM.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]