lua-users home
lua-l archive

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


> 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?