lua-users home
lua-l archive

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


On Thu, Jun 30, 2011 at 4:27 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> i have some faint memories that windows got some time ago a new set of
> UTF-8 API functions that any application can use instead of the old
> 'widechar' ones.

There's things like '_mbslen' (mbs for 'multi-byte string'); UTF-8 is
definitely encouraged if you don't go wide.

 (of course that wouldn't mean UCS-2
> is anywhere closer to the painful death it deserves)

For desktop Windows at least, it's been UTF-16 since Windows 2K.

steve d.