正在初学org-mode,用来记法语笔记,但默认的字体好像不支持法语,导致最后导出HTML时输出的格式很难看,且保存时给出了下面这些提示:
These default coding systems were tried to encode text in the buffer `Note de af.org': (chinese-gbk-dos (99 . 226) (128 . 251)) However, each of them encountered characters it couldn't encode: chinese-gbk-dos cannot encode these: â û .......
请教各位,如何设置文档的字体(全局的和针对单个文件的),多谢~~
你的文档编码gbk的问题吧,将编码改成utf-8试试
多谢lxnow,我修改了以下两个地方,问题解决,可以用org-mode输入和导出法语字符类似préféré ,être 等。 1、导出HTML时配合CSS, body { font-family: “Droid Serif”, “Lucida Grande”, “Lucida Sans Unicode”, “DejaVu Sans”, Verdana, sans-serif; font-size: 11pt; line-height: 1.3; margin: 40pt; padding: 0; }
2、修改语言环境为French M-x set-language-environment French . (参考官方emacs-manual 19.2 Language Environments)