From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii Subject: bug#34684: 26.1; Strange characters when inserting date Date: Thu, 28 Feb 2019 21:56:13 +0200 Message-ID: <83zhqfit5u.fsf@gnu.org> References: <83h8cnkdc5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzRnk-0001yY-OY for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 14:57:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzRni-0004VC-T1 for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 14:57:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42003) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzRni-0004UY-GT for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 14:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzRni-00078F-6m for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 14:57:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: (message from Robert Pluim on Thu, 28 Feb 2019 20:11:45 +0100) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Robert Pluim Cc: Philip.Wong@warwick.ac.uk, 34684@debbugs.gnu.org > From: Robert Pluim > Cc: "Wong\, Philip" , 34684@debbugs.gnu.org > Date: Thu, 28 Feb 2019 20:11:45 +0100 > > Eli Zaretskii writes: > > >> From: "Wong, Philip" > >> Date: Thu, 28 Feb 2019 14:16:25 +0000 > >> > >> When I insert a date by pressing CTRL+C then period then enter I get “<2019-02-28 ¶g¥|>”. > >> > >> I’m not sure what the strange character is (¶g¥|), can someone help? > > > > Please show a complete recipe, starting from "emacs -Q", to reproduce > > the issue. When I type "Ctrl-C ." in "emacs -Q", Emacs says that > > sequence is not bound to any command, so I wonder what is needed to > > "insert a date" in your scenario. > > >From the output, this is 'org-time-stamp', which produces > <2019-02-28 Thu> here. Based on this in the report: > > Important settings: > value of $LANG: ZHH > locale-coding-system: cp1252 > > Iʼm assuming thereʼs an issue with buffer-file-coding-system or > similar. Unlikely: buffer-file-coding-system has no effect whatsoever on the text that is inserted into a buffer, it only has effect when you want to save the buffer or send it to some sub-process. It could be some snafu in Org, though, e.,g. if it doesn't know how to support that value of $LANG. In any case, should be reported to Org developers first.