|
> BTW, I don't know if it is possible to display arbitrary Unicode symbol in
> Windows console,
It is. But you have to use the Unicode APIs, not the C stdlib.
> so maybe the wish of making Unicode version of print() is unattainable
> anyway.
It's perfectly possible, but not with ANSI C only (which is what core
Lua requires).
Why do that when the standard Lua string type is UTF-8 safe? Better
surely to use UTF-8 via Lua strings, and only use UTF-16 for
interfacing to the Windows APIs?