Re: Running script from directory with UTF-8 characters

2015-12-23 Thread David Kastrup
Marko Rauhamaa writes: > David Kastrup : > >> That's more economical than Python's method which uses the encodings >> of surrogate words not allowed in properly encoded UTF-8, taking >> 3 bytes rather than the 2 Emacs makes do with. Using high codepoints >> above the Unicode space would even take

Re: Running script from directory with UTF-8 characters

2015-12-23 Thread Marko Rauhamaa
David Kastrup : > That's more economical than Python's method which uses the encodings > of surrogate words not allowed in properly encoded UTF-8, taking > 3 bytes rather than the 2 Emacs makes do with. Using high codepoints > above the Unicode space would even take 4 bytes. Actually, CPython rep

Re: Running script from directory with UTF-8 characters

2015-12-23 Thread David Kastrup
Eli Zaretskii writes: > From: Marko Rauhamaa > >> Why don't you tell me already what emacs does? > > I did, you elided that. It represents text as superset of UTF-8, and > uses high codepoints above the Unicode space for raw bytes. Incorrect. It uses overlong encodings of 0x00-0x7f for raw by

Re: Running script from directory with UTF-8 characters

2015-12-23 Thread Marko Rauhamaa
Eli Zaretskii : >> From: Marko Rauhamaa >> Why don't you tell me already what emacs does? > > I did, you elided that. It represents text as superset of UTF-8, and > uses high codepoints above the Unicode space for raw bytes. Excellent. If that works, Guile needs the same thing. (I'm afraid, tho

Re: Running script from directory with UTF-8 characters

2015-12-23 Thread Eli Zaretskii
> From: Marko Rauhamaa > Cc: guile-user@gnu.org > Date: Wed, 23 Dec 2015 21:18:28 +0200 > > Eli Zaretskii : > > >> From: Marko Rauhamaa > >> The Linux kernel just doesn't care, and shouldn't. > > > > Guile is not an OS kernel. Guile is an environment for writing > > applications. On the applica

Re: Running script from directory with UTF-8 characters

2015-12-23 Thread Marko Rauhamaa
Eli Zaretskii : >> From: Marko Rauhamaa >> The Linux kernel just doesn't care, and shouldn't. > > Guile is not an OS kernel. Guile is an environment for writing > applications. On the application level, you _should_ care, or else you > won't be able to manipulate file names in meaningful ways. T

Re: Running script from directory with UTF-8 characters

2015-12-23 Thread Eli Zaretskii
> From: Marko Rauhamaa > Date: Tue, 22 Dec 2015 23:39:28 +0200 > Cc: guile-user@gnu.org > > > No, they aren't, not as file names. E.g., you cannot meaningfully > > downcase or upcase such "characters", you cannot count characters (as > > opposed to bytes), you cannot calculate how much screen est