orgmode agenda里面时间显示乱码

使用win10+emacs24.5.1+orgmode9.1.4,在文件里时间显示为 <2017-12-19 Tue 22:17> 在agenda 里面则显示乱码TIM截图20171219222604

请问大家有遇到过吗,谢谢!

emacs 的编码环境设置为utf-8 试一下。

具体的方法是:

#+BEGIN_SRC emacs-lisp
 (set-language-environment "UTF-8")
 (prefer-coding-system 'utf-8-unix)
 (set-default-coding-systems 'utf-8-unix)
 (set-terminal-coding-system 'utf-8-unix)
 (set-keyboard-coding-system 'utf-8-unix)
 ;; backwards compatibility as default-buffer-file-coding-system
 ;; is deprecated in 23.2.
 ;;(if (boundp 'buffer-file-coding-system)
 ;;    (setq-default buffer-file-coding-system 'utf-8-unix)
 ;;  (setq default-buffer-file-coding-system 'utf-8-unix))

 ;; Treat clipboard input as UTF-8 string first; compound text next, etc.
 (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
 (modify-coding-system-alist 'file "org" 'utf-8-unix)
 (modify-coding-system-alist 'file "html" 'utf-8-unix)
 (modify-coding-system-alist 'file "css" 'utf-8-unix)
 (modify-coding-system-alist 'file "txt" 'utf-8-unix)
 (modify-coding-system-alist 'file "c" 'utf-8-unix)
 (modify-coding-system-alist 'file "php" 'utf-8-unix)
 (modify-coding-system-alist 'file "js" 'utf-8-unix)
 (modify-coding-system-alist 'file "sh" 'utf-8-unix)
 #+END_SRC

谢谢,不过设置了还是不行,我这个情况确切的说是在时间格式 <2017-12-19 Tue 22:17> 19 与 Tue之间增加了个乱码

呼叫各位大佬。。。。。。。

在这个字符的位置describe-char可以看到它使用的字体信息。方框显示unicode code point一般是字体不支持。试试我从论坛里抄来的代码:

(set-fontset-font t nil (font-spec :family "Dejavu Sans Mono") nil 'append)  

“给t(所有的)fontset加上一个append(fallback)字体Dejavu Sans Mono, which has good unicode support, while being a monospaced font”

没显示出来前想知道这是什么字可以上 unicode-table.com 查一下。

还是不行。。:joy: org9.06是正常的,换到9.1.4就不行了