renard / o-blog

Standalone orgmode blog exporter. DEPECATED, NOT MAINTAINED
http://renard.github.com/o-blog-v2
260 stars 58 forks source link

Encoding problem when publishing (v2.5) #131

Closed etimecowboy closed 4 years ago

etimecowboy commented 9 years ago

I come across the problem of encoding when publishing. Emacs gives me:


These default coding systems were tried to encode text in the buffer ` temp file': (iso-latin-1-unix (30 . 20013) (31 . 25991) (32 . 26631) (33 . 39064) (122 . 36825) (123 . 26159) (124 . 27801) (125 . 28286) (126 . 12290) (191 . 36825) (192 . 26159)) However, each of them encountered characters it couldn't encode: iso-latin-1-unix cannot encode these: 中 文 标 题 。 这 ...

Click on a character (or switch to this window by C-x o' and select the characters by RET) to jump to the place it appears, whereC-u C-x =' will give information about it.

Select one of the safe coding systems listed below, or cancel the writing with C-g and edit the buffer to remove or modify the problematic characters, or specify any other coding system (and risk losing the problematic characters).

utf-8 gb2312 gb18030 gbk hz-gb-2312 utf-7 utf-16 utf-16be-with-signature utf-16le-with-signature utf-16be utf-16le iso-2022-7bit utf-8-auto utf-8-with-signature utf-7-imap utf-8-emacs

prefer-utf-8

Posts that have unicode (Chinese) characters in body can be published after manually select utf-8 encoding several times. This is quite annoying. Could you find a work around?

Posts that have unicode (Chinese) characters in heading can NOT be published as html pages, because of filename problem. This was not a problem in version 1, which named the html something like 01_.html.

o-blog project is very good. Great work. I am using it as my main note taking system. Please continue to develop it. Thanks