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 12:21:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

David Kastrup <address@hidden>:

> Marko Rauhamaa <address@hidden> writes:
>> That operation fails if you try to translate the snippets to strings
>> before concatenation. Such concatenation operations are commonplace
>> when dealing with filenames (eg, split(1)).
>
> split(1) does not "deal with filenames" when splitting, but the
> individual files may be split inside of UTF-8 sequences.  See above.

You probably cannot produce valid UTF-8 out of invalid UTF-8 snippets
with split(1). However split(1) does form filenames out of its arguments
by concatenation:

    split --additional-suffix=suffix file prefix

produces these kinds of filenames:

    <prefix><ordinal><suffix>


Marko



reply via email to

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