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: Marko Rauhamaa
Subject: Re: guile can't find a chinese named file
Date: Thu, 16 Feb 2017 20:38:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Eli Zaretskii <address@hidden>:

> In any case, this is unrelated to how strings are implemented, because
> the basic level of string implementation _must_ support binary,
> character by character (and byte by byte) comparison. Otherwise, you
> won't be able to compare file names equal, for example, at least on
> Unix and Windows (macOS is another matter).

Your statement is true only if you want to use character strings when
interfacing the operating system. You could leave character strings to
application libraries for newsreaders, IRC clients etc, and have a
separate byte string data type for the system interface.

Python kinda does it bothways, preferring the string interface, but
duplicating almost all functionality for byte strings as well.

If emacs managed to restore a binary/text unification (and infect Guile
in the process), that would be quite an accomplishment.

Now, if we only could get rid of locales while we are at it...


Marko



reply via email to

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