[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48902: 28.0.50; Directory names containing apostrophes and backticks
From: |
Eli Zaretskii |
Subject: |
bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems |
Date: |
Tue, 08 Jun 2021 21:18:57 +0300 |
> From: Mattias Engdegård <mattiase@acm.org>
> Date: Tue, 8 Jun 2021 19:45:22 +0200
> Cc: 48902@debbugs.gnu.org, Alan Third <alan@idiocy.org>,
> Rudolf Adamkovič <salutis@me.com>, naofumi@yasufuku.dev
>
> The quick fix of reverting to stringWithUTF8String: will work, but the real
> problem is that we have no control of the encodedness of lisp strings being
> passed around.
The usual technique in these cases is to keep Lisp strings unencoded,
encode them when passing to the low-level C functions, and pass to
those functions only the pointer to the string's data.
In those rare cases when you really need to pass a Lisp string that is
an encoded file name, call the argument "encoded_file" or somesuch.
But these cases should be rare exceptions.
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, (continued)
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Eli Zaretskii, 2021/06/07
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, naofumi, 2021/06/08
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Lars Ingebrigtsen, 2021/06/08
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Alan Third, 2021/06/08
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Lars Ingebrigtsen, 2021/06/08
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Mattias Engdegård, 2021/06/08
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems,
Eli Zaretskii <=
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, naofumi, 2021/06/08
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Mattias Engdegård, 2021/06/08
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Alan Third, 2021/06/08
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Mattias Engdegård, 2021/06/08
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Alan Third, 2021/06/08
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Mattias Engdegård, 2021/06/09
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Alan Third, 2021/06/09
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Rudolf Adamkovič, 2021/06/11
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Eli Zaretskii, 2021/06/09
- bug#48902: 28.0.50; Directory names containing apostrophes and backticks cause problems, Mattias Engdegård, 2021/06/08