Lua String Comparison Problem
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Lua String Comparison Problem
- From: mitchell <code@...>
- Date: 2010年10月18日 15:19:23 -0400 (Eastern Daylight Time)
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