I can only find a call to "setlocale" in "extract.c", which is not part of the
library (extract.c is for the "extract" binary, a stand-alone program).
What version of LE are you using -- and what line of the code are you
On Friday 26 June 2009 05:27:11 Aliaksey Kandratsenka wrote:
> I'm having a minor issue with libextractor. I'm using libextractor
> through Ruby language bindings. And setlocale call from libextractor
> changes localized representation of numbers which causes ruby to do
> conversion from numbers to string incorrectly. I understand that it's a
> gray area. And that ruby interpreter can be blamed too. But I think that
> libraries should avoid global environment changes. And setlocale does
> such global change.
> What do you think ? Is that call really necessary ?