[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Desperate in need of help: Very very weird problem with sscanf
From: Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date: 2009-08-20 16:12:18
Message-ID: h6jsl2$eq1$1 () ger ! gmane ! org
[Download RAW message or body]
Thiago Macieira wrote:
> The problem is that the C library has no such locale-independent function.
> Even strtod/strtof are dependent.
How does, say, Inkscape read numbers from an svg, if that is the case?
Do they have their own strtod-or-similar? (Presumably, however they
handle it would be similar to how it should be fixed in this instance.)
Given that reading numbers from a file (or writing numbers to a file)
doesn't seem like an unusual operation (which would need to operate in
the C locale always), I'm surprised if libc really doesn't have a
solution to this...
--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
Don't use a hippo to... what was I saying?
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic