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: Mon, 30 Jan 2017 21:01:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

David Kastrup <address@hidden>:

> Marko Rauhamaa <address@hidden> writes:
>> Guile's mistake was to move to Unicode strings in the operating system
>> interface.
>
> Emacs uses an UTF-8 based encoding internally [...]

C uses 8-bit characters. That is a model worth emulating.

UTF-8 beautifully bridges the interpretation gap between 8-bit character
strings and text. However, the interpretation step should be done in the
application and not in the programming language. Support libraries for
Unicode are naturally welcome.

Plain Unicode text is actually quite a rare programming need. It is
woefully inadequate for the human interface, which generally requires
numerous other typesetting effects. But is also causing unnecessary
grief in the computer-computer interface, where the classic textual
naming and textual protocols are actually cutely chosen octet-aligned
binary formats.


Marko



reply via email to

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