GNU bug report logs - #38287
26.3.50; filenotify.el: the Chinese file name in the event is messy code

Previous Next

Package: emacs;

Reported by: HaiJun Zhang <netjune <at> outlook.com>

Date: Wed, 20 Nov 2019 03:51:01 UTC

Severity: normal

Tags: patch

Found in version 26.3.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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 38287 <at> debbugs.gnu.org, netjune <at> outlook.com
Subject: bug#38287: 26.3.50; filenotify.el: the Chinese file name in the event is messy code
Date: Wed, 20 Nov 2019 18:49:34 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> That looks OK, although I'm not sure whether the coding system shall be
>> utf-8-hfs or something like this.
>
> The strings shown in the image are UTF-8 encoded.

Hmm. kqueue.c is very lazy in using ENCODE_FILE, it uses it only in
kqueue-add-watch. Maybe it is missing somewhere else?

(I always fail to handle utf-8 properly, especially in C code :-( )

Best regards, Michael.




This bug report was last modified 5 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.