lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I want my libraries to work with any stock Lua/LuaJIT so I fixed the yaml bindings [1].

I used Ruby's strtod version to do the conversion and it works like charm.

Gaspard

[1] https://github.com/lubyk/lubyk/commit/95a6b0b325f423b14b290ed11df46f3540779e59

On Thu, Sep 1, 2011 at 11:17 PM, Petite Abeille <petite.abeille@gmail.com> wrote:

On Sep 1, 2011, at 10:55 PM, Gaspard Bucher wrote:

> Am I missing something ?

Yes :)

To paraphrase Henry Ford, feel free to use any locale you want as long as it's  "C" or close relative such as en_US.US-ASCII :))

Alternatively:

http://stackoverflow.com/questions/5779019/isolate-lua-from-locale/5779535#5779535



--

                                                               Gaspard