Pretty easy to implement Lua side:
getmetatable("").__index = function(s,k)
if type(k) == "number" then return string.byte(s, k); end
return string[k]
end
Not sure how wise it would be having the behaviour change on a compile
time flag. Would make portable code hard to write if you can't rely on a
specific behaviour. Much better to leave it up to the app/script.
Scott