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: Andy Wingo
Subject: Re: guile can't find a chinese named file
Date: Sun, 26 Feb 2017 21:58:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hi,

On Wed 15 Feb 2017 18:07, Eli Zaretskii <address@hidden> writes:

> the [Emacs] 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.

FWIW we are up for good suggestions.  It's clear that file names (and
command line arguments and environment variables) aren't handled ideally
in Guile as they aren't fundamentally strings of characters in any
particular encoding, and hence this class of bug.

Andy



reply via email to

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