From mboxrd@z Thu Jan 1 00:00:00 1970 From: "sindikat" Subject: Re: Add publishing with utf8 Date: Wed, 23 Nov 2011 15:49:43 +0100 Message-ID: <20111123144943.93216.qmail@rage.so36.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTE92-0003g5-1I for emacs-orgmode@gnu.org; Wed, 23 Nov 2011 09:50:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTE8w-0008Ek-Q3 for emacs-orgmode@gnu.org; Wed, 23 Nov 2011 09:49:52 -0500 Received: from rage.so36.net ([83.223.73.105]:56609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTE8w-0008Ee-Ee for emacs-orgmode@gnu.org; Wed, 23 Nov 2011 09:49:46 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Now i have (set-language-environment "UTF-8") (prefer-coding-system 'utf-8-unix) (setq org-export-html-coding-system 'utf-8-unix) and publishing works perfectly. Funny, that i have every locale set to "en_US.UTF-8", but LANGUAGE and LC_ALL set to empty. But when i set them to "en_US.UTF-8", Emacs still opens non-utf8 files as "undecided-unix". In file-coding-system-alist i found expression ("" undecided) and when i changed it to utf-8-unix, every file started opening with this encoding. I've solved my problem, thanks to you all. I only not sure why opening everything as utf8 wasn't made default in Emacs.