lua-users home
lua-l archive

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


> Modern *nix terminals should be using UTF-8 already. On WinXP 
> console, you need to switch to UTF-8 (code page 65001), then just 
> write out the UTF-8 bytes. Something like that, perhaps?

Let's pretend we're waaaay overthinking this.

Let's try this:

print ("-" .. " is a hyphen")
print ( ?? .. " is an n-dash")

Dave