[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Support for Windows unicode paths
- From: "Thomas Harning Jr." <harningt@...>
- Date: Wed, 22 Jul 2009 11:29:48 -0400
On Wed, Jul 22, 2009 at 11:26 AM, Bulat Ziganshin <firstname.lastname@example.org>
i don't understand that you mean by "replacement APIs". i think the
Wednesday, July 22, 2009, 6:55:56 PM, you wrote:
> Has anybody come up with solutions? The only reasonably solution I
> can think of is to have 'replacement' APIs at boundaries that
> send/receive certain text from the OS...
best way is to provide C low-level functions that implements open,
popen, getenv functionality using utf8-encoded strings (internally
converting them to/from utf-16) and use in io/os packages these
functions instead of usual ones
What you've just described /is/ the replacement API I was thinking about.
Has anyone already performed this work (making a 'lightweight' wrapper for Windows to make Lua operate like this)"?
Thomas Harning Jr.