guile-user
[Top][All Lists]
Advanced

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

Re: guile can't find a chinese named file


From: Eli Zaretskii
Subject: Re: guile can't find a chinese named file
Date: Wed, 15 Feb 2017 19:07:55 +0200

> Date: Wed, 15 Feb 2017 12:13:09 +0000
> From: Chris Vine <address@hidden>
> 
> 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

[Prev in Thread] Current Thread [Next in Thread]