GNU bug report logs -
#59341
29.0.50; Lisp files with other encoding than UTF-8?
Previous Next
Reported by: Stefan Kangas <stefankangas <at> gmail.com>
Date: Thu, 17 Nov 2022 19:39:02 UTC
Severity: normal
Found in version 29.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#59341: 29.0.50; Lisp files with other encoding than UTF-8?
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 59341 <at> debbugs.gnu.org.
--
59341: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59341
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Fri, 18 Nov 2022 18:14:50 +0100
> Cc: 59341 <at> debbugs.gnu.org
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > I'd rather describe the reason in more detail there.
> >
> > I can do this myself if you prefer.
>
> Yes, that would be much appreciated. Thank you.
Done, and closing the bug.
[Message part 3 (message/rfc822, inline)]
I noticed that codespell was having trouble with one of our files
(ethio-util.el), refusing to read it as UTF-8. This lead to some
unexpected and unwanted behavior.
So I took a closer look and found that several files in lisp/ appear to
be use some other encoding than UTF-8:
$ cd lisp ; for f in $(git ls-files|egrep '.el$'); \
do file $f | grep -v UTF-8 | grep -v " ASCII" ; \
done ; cd -
international/titdic-cnv.el: Lisp/Scheme program, Non-ISO
extended-ASCII text, with LF, NEL line terminators
language/ethio-util.el: Lisp/Scheme program, Non-ISO extended-ASCII
text, with LF, NEL line terminators
language/ethiopic.el: Lisp/Scheme program, Non-ISO extended-ASCII text
language/ind-util.el: Lisp/Scheme program, Non-ISO extended-ASCII
text, with LF, NEL line terminators
language/tibet-util.el: Lisp/Scheme program, Non-ISO extended-ASCII
text, with LF, NEL line terminators
language/tibetan.el: Non-ISO extended-ASCII text, with LF, NEL line terminators
leim/quail/ethiopic.el: Non-ISO extended-ASCII text, with LF, NEL line
terminators
leim/quail/tibetan.el: Lisp/Scheme program, Non-ISO extended-ASCII
text, with LF, NEL line terminators
Should these files be converted to UTF-8?
This bug report was last modified 2 years and 239 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.