lua-users home
lua-l archive

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


On 6/28/2011 1:00 AM, Dave Collins wrote:
I think this is so basic that Google searches are second-guessing
I want a more advanced answer.

How do I print non-kb characters? I just want to print an ‘en dash’!

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?

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia