From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii Subject: bug#34684: 26.1; Strange characters when inserting date Date: Mon, 11 Mar 2019 19:55:25 +0200 Message-ID: <83sgvt47oy.fsf@gnu.org> References: <83h8cnkdc5.fsf@gnu.org> <83zhqfit5u.fsf@gnu.org> <83d0naj30v.fsf@gnu.org> <837ediit4b.fsf@gnu.org> <835zt2irkd.fsf@gnu.org> <8336nt5ugg.fsf@gnu.org> <83wol54ajb.fsf@gnu.org> <83va0p48vo.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]:45616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3PCD-0007Es-Vl for emacs-orgmode@gnu.org; Mon, 11 Mar 2019 13:58:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3P9e-0002Px-3r for emacs-orgmode@gnu.org; Mon, 11 Mar 2019 13:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3P9d-0002PE-U4 for emacs-orgmode@gnu.org; Mon, 11 Mar 2019 13:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h3P9d-0006i8-MR for emacs-orgmode@gnu.org; Mon, 11 Mar 2019 13:56:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: (Philip.Wong@warwick.ac.uk) 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: "Wong, Philip" Cc: rpluim@gmail.com, 34684@debbugs.gnu.org > From: "Wong, Philip" > CC: "rpluim@gmail.com" , "34684@debbugs.gnu.org" > <34684@debbugs.gnu.org> > Date: Mon, 11 Mar 2019 17:35:05 +0000 > > Here is the output in the order of commands you mentioned: > <2019-03-11 ¬P´Á¤@> > > For the other commands, there is no output in the actual buffer) but on the bottom it says.... > 3076 (#o6004, #xc04) > "?? (??,???????)" > 1033 (#o2011, #x409) > 3076 (#o6004, #xc04) > ["???" "???" "???" "???" "???" "???" "???"] Thanks, I think I understand what happens. The problem is that your locale produces day names that cannot be represented with codepage 1252, so you get garbled strings and question marks instead. Does it help to change the value of locale-coding-system, like below? M-: (setq locale-coding-system 'cp950)