lua-users home
lua-l archive

Lua String Comparison Problem

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


Hi,
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?
Thanks,
mitchell

AltStyle によって変換されたページ (->オリジナル) /