From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: mail@christianmoe.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: export html -> doc
Date: Tue, 21 Dec 2010 16:21:05 +0800 [thread overview]
Message-ID: <87r5db8rke.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <4D10618A.2020401@christianmoe.com> (Christian Moe's message of "Tue, 21 Dec 2010 09:12:58 +0100")
On Tue, Dec 21 2010, Christian Moe wrote:
> On 12/21/10 3:04 AM, Eric Abrahamsen wrote:
>>> #+BIND: org-export-html-xml-declaration ()
>> That did the trick! Thank you.
>>
>> One small follow-up question: this produces iso-8859-1 encoded text by
>> default; how do I go about asking for utf-8?
>
> With the same setup I still get utf-8. Though the XML declaration is
> lost, it's still there in the line:
>
> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
>
> What values do you have for the following?
>
> org-export-html-coding-system
> buffer-file-coding-system
> current-language-environment
Aha! It's that first one I was looking for (I must not be using apropos
correctly). I had:
org-export-html-coding-system > nil
buffer-file-coding-system > utf-8-with-signature-unix
current-language-environment > "UTF-8"
Setting org-export-html-coding-system to 'utf-8 resulted in a correct
coding system in the html export, but from the docs you'd think it would
have picked that up from buffer-file-coding-system to begin with…
Thanks,
Eric
>
> Yours,
> Christian
next prev parent reply other threads:[~2010-12-21 8:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-20 9:42 export html -> doc Eric Abrahamsen
2010-12-20 9:54 ` Holger Wenzel
2010-12-20 11:37 ` Christian Moe
2010-12-21 2:04 ` Eric Abrahamsen
2010-12-21 8:12 ` Christian Moe
2010-12-21 8:21 ` Eric Abrahamsen [this message]
2010-12-21 9:27 ` Christian Moe
2010-12-21 9:54 ` Eric Abrahamsen
2010-12-20 11:05 ` William Gardella
2010-12-20 14:19 ` export html -> doc Chris Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r5db8rke.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=emacs-orgmode@gnu.org \
--cc=mail@christianmoe.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).