Subject: Re: bug#34684: 26.1; Strange characters when inserting date

From: Eli Zaretskii <[email-masked]>
Date: Mon, 11 Mar 2019 19:55:25 +0200

> From: "Wong, Philip" <[email-masked]>
> CC: "[email-masked]" <[email-masked]>, "[email-masked]"
> 	<[email-masked]>
> 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)