emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Olaf Dietsche <olaf+list.orgmode@olafdietsche.de>
To: sindikat <sindikat@mail36.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Add publishing with utf8
Date: Tue, 22 Nov 2011 22:17:40 +0100	[thread overview]
Message-ID: <878vn7dfgr.fsf@rat.lan> (raw)
In-Reply-To: <20111122200922.14650.qmail@rage.so36.net> (sindikat@mail36.net's message of "Tue, 22 Nov 2011 21:09:22 +0100")

"sindikat" <sindikat@mail36.net> writes:

> I added this to my .emacs: 
>
> (set-language-environment "UTF-8")
> (prefer-coding-system 'utf-8-unix)

This is what I use. Even when I open a new file, the buffer coding
system is chosen as utf-8-unix, shown as U: in the mode line.

Maybe your environment is setup differently? What is the value of LANG
or LC_ALL or any other LC_* environment variable?

I have set LANG=de_DE.utf8.

> (org-export-html-coding-system 'utf-8-unix) 
>
> but Emacs still opens files with pure ASCII as undecided-unix, thus 
> producing wrong iso-8859-1 in my charsets again. I don't know what to do. 
> Is there any way to force Emacs open any file as utf-8?

Maybe C-h v file-coding-system-alist RET helps, if setting the
environment doesn't solve your problem.

Regards, Olaf

  parent reply	other threads:[~2011-11-22 21:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22 20:09 Add publishing with utf8 sindikat
2011-11-22 21:08 ` Nick Dokos
2011-11-22 21:17 ` Olaf Dietsche [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-23 14:49 sindikat
2011-11-21 22:06 sindikat
2011-11-22  1:59 ` Nick Dokos
2011-11-22  8:03   ` Jambunathan K

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=878vn7dfgr.fsf@rat.lan \
    --to=olaf+list.orgmode@olafdietsche.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=sindikat@mail36.net \
    /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).