[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fixing url-unhex-string for unicode/multi-byte charsets
From: |
Stefan Monnier |
Subject: |
Re: fixing url-unhex-string for unicode/multi-byte charsets |
Date: |
Sun, 08 Nov 2020 08:39:33 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> > My guess is that his `file-name-coding-system` is set to something
>> > different from utf-8.
>
> That's correct, kind of. The setting isn't 'mine', its the emacs
> default. In both emacs 26.1 (debian) and emacs-snapshot (v28),
> file-name-coding-system defaults to nil, and
> default-file-name-coding-system defaults to utf-8-unix, so we have:
>
> file-name-coding-system => nil
> (default-value file-name-coding-system) => nil
> default-file-name-coding-system => utf-8-unix
This means your file name coding system *is* set to utf-8, so that
doesn't explain the problem.
> "The value type for this key is “string”; it SHOULD store the file
> name as the sequence of bytes produced by the file system, with
> characters escaped as in URLs (as defined by RFC 2396, section 2)."
Thanks. So we should indeed obey `file-name-coding-system`.
Stefan
- fixing url-unhex-string for unicode/multi-byte charsets, Boruch Baum, 2020/11/06
- Re: fixing url-unhex-string for unicode/multi-byte charsets, Eli Zaretskii, 2020/11/06
- Re: fixing url-unhex-string for unicode/multi-byte charsets, Boruch Baum, 2020/11/06
- Re: fixing url-unhex-string for unicode/multi-byte charsets, Eli Zaretskii, 2020/11/06
- Re: fixing url-unhex-string for unicode/multi-byte charsets, Boruch Baum, 2020/11/06
- Re: fixing url-unhex-string for unicode/multi-byte charsets, Eli Zaretskii, 2020/11/06
- Re: fixing url-unhex-string for unicode/multi-byte charsets, Stefan Monnier, 2020/11/06
- Re: fixing url-unhex-string for unicode/multi-byte charsets, Eli Zaretskii, 2020/11/06
- Re: fixing url-unhex-string for unicode/multi-byte charsets, Boruch Baum, 2020/11/08
- Re: fixing url-unhex-string for unicode/multi-byte charsets,
Stefan Monnier <=
- Re: fixing url-unhex-string for unicode/multi-byte charsets, Eli Zaretskii, 2020/11/08
- Re: fixing url-unhex-string for unicode/multi-byte charsets, Stefan Monnier, 2020/11/06