From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: bug#34684: 26.1; Strange characters when inserting date Date: Thu, 28 Feb 2019 11:15:55 -0800 Message-ID: <87pnrbenbo.fsf@ericabrahamsen.net> 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]:59049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzRAE-0002gU-1Y for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 14:16:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzRAA-0007Qp-67 for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 14:16:12 -0500 Received: from [195.159.176.226] (port=50866 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gzRA7-0007OB-Qj for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 14:16:08 -0500 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gzRA0-000IFh-HK for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 20:16:00 +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: emacs-orgmode@gnu.org Robert Pluim writes: > 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. If I do > > LANG=zh_HK src/emacs -Q > (require 'org) > (org-time-stamp) => <2019-02-28 四> That means "four", aka "Thursday" :)