Search lua-l
This index contains 143,604 documents and
1,774,497 keywords. Last update on
2023-03-08 .
- 1. setlocale => malformed number near '0.3' (score: 807)
- Author: Tuomo Valkonen <tuomov@...>
- Date: Thu, 7 Jul 2005 19:51:46 +0000 (UTC)
- If locale is set to recognise numbers in locale format, Lua stops working, expecting this to _change language syntax_. Apparently this is a well-known problem[1,2]. Why has nothing been done about it
- 2. Re: setlocale => malformed number near '0.3' (score: 718)
- Author: Chris Marrin <chris@...>
- Date: Mon, 11 Jul 2005 08:13:03 -0700
- Michael Richter wrote: ... You know, there are probably more polite ways to request assistance from unpaid volunteers than to call them, albeit indirectly, "inexcusably brain-damaged". (Indeed callin
- 3. Re: setlocale => malformed number near '0.3' (score: 718)
- Author: Michael Richter <ttmrichter@...>
- Date: Mon, 11 Jul 2005 08:37:11 +0800
- If locale is set to recognise numbers in locale format, Lua stops working, expecting this to _change language syntax_. Apparently this is a well-known problem[1,2]. Why has nothing been done about it
- 4. Re: lujit - Malformed number (score: 460)
- Author: Mike Pall <mikelu-1009@...>
- Date: Sat, 4 Sep 2010 12:28:39 +0200
- Maybe some other component is changing the locale (readline or GTK+ are often the culprits). Or something is setting LC_NUMERIC, which overrides LC_ALL. Well, this would still break loadfile() et al.
- 5. lujit - Malformed number (score: 450)
- Author: Sylvain Fabre <sylvain.fabre@...>
- Date: Fri, 03 Sep 2010 22:01:04 +0200
- We are also evaluating luajit and we get a strange error each time we deal with a float (ie like 3.14116) : we get a 'Malformed number ...' error. In the main core of the program embedding lua, we ca
- 6. Re: lujit - Malformed number (score: 429)
- Author: Mike Pall <mikelu-1009@...>
- Date: Sat, 4 Sep 2010 13:15:51 +0200
- Only if your application or some library in your process explicitly sets the locale. Which only very few libraries do nowadays. It's mostly pointless with UTF-8, since very few of the traditional NLS
- 7. Re: lujit - Malformed number (score: 426)
- Author: Alexander Gladysh <agladysh@...>
- Date: Sat, 4 Sep 2010 14:41:25 +0400
- Um. Mike, are you saying that in LJ2 decimal separator is dependent on locale? Sorry, but this is horrible! In Lua 5.0 this was a huge PITA (at least for me). Changing C locale before loading Lua co
- 8. Re: Locale problem (score: 87)
- Author: Stoil Todorov <torpedo_st@...>
- Date: Thu, 5 Feb 2004 09:23:01 -0800 (PST)
- First, thanks for support!:-) Second I still have problems with locals:-( In code, I call os.setlocale("C", "numeric") in first line, because I use data with decimal point, but I get error message: "
- 9. Re: Locale problem (score: 52)
- Author: David Jones <drj@...>
- Date: Fri, 6 Feb 2004 10:40:04 +0000
- First, thanks for support!:-) Second I still have problems with locals:-( In code, I call os.setlocale("C", "numeric") in first line, because I use data with decimal point, but I get error message:
- 10. Re: announce: UTF-8 lib [Re: setlocal categories?] (score: 33)
- Author: Mike Pall <mikelu-0502@...>
- Date: Thu, 17 Feb 2005 13:25:41 +0100
- Hi, Yes, this is one of my pet peeves, too. I replaced the whole mess in l_strcmp with memcmp. Not because it's a lot faster, but because it's a lot more predictable. Lua strings are just byte arrays
Search by
Namazu v2.0.21