[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libextractor] setlocale call in libextractor
From: |
Aliaksey Kandratsenka |
Subject: |
[libextractor] setlocale call in libextractor |
Date: |
Fri, 26 Jun 2009 14:27:11 +0300 |
Hi.
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 ?
--
With kind regards,
Aliaksey Kandratsenka <address@hidden>
- [libextractor] setlocale call in libextractor,
Aliaksey Kandratsenka <=