> Date: Wed, 15 Feb 2017 12:13:09 +0000
> From: Chris Vine <ch...@cvine.freeserve.co.uk>
> 
> I am not sure how that would work with windows.

Emacs has solved that problem as well: the MS-Windows port pretends
towards Emacs internals that file names are encoded in UTF-8, and
shadows relevant system APIs that accept or return file names, like
fopen, opendir/readdir, stat, etc. with its own versions that convert
UTF-8 to and from UTF-16 before calling the real OS APIs.

Once again, just use that experience, and maybe even some
infrastructure code.

Reply via email to