[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua String Comparison Problem
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 18 Oct 2010 17:38:10 -0200
> I have a strange string comparison problem with Lua 5.1.4 embedded in my
> application:
>
> 'W' < 'w' returns false
> string.byte('W') < string.byte('w') returns true
>
> In the official 5.1.4 binaries for both Windows and Linux:
>
> 'W' < 'w' returns true
> string.byte('W') < string.byte('w') returns true
>
> Is there something I'm missing in my luaconf.h?
Does your application set a new locale?