> Storing Mongolian is not a big deal.
...
> You'll need a lib to e.g. calculate UTF-8 lengths,
...
> There are no technical limitations there.
You cannot be seriously making this argument. Why not just code everything in assembly?
...
> You'll need a lib to e.g. calculate UTF-8 lengths,
...
> There are no technical limitations there.
You cannot be seriously making this argument. Why not just code everything in assembly?
* Though there are recommendations at http://lua-users.org/wiki/LuaUnicode .
In practice, it could look like this:
U = require "unicode"
s = U"some unicode" -- using a library sure is hard
length = s:len()
replaced = s:gsub("thing1", "thing2") -- global substitute
etc.
You can add regular expressions and bignums to Lua pretty painlessly, too.