From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steinar Bang Subject: Emacs 21 doesn't pick utf-8 as the coding system Date: Mon, 07 Jun 2010 13:28:26 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=39050 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLaVX-0001CR-AN for emacs-orgmode@gnu.org; Mon, 07 Jun 2010 07:28:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLaVQ-0004f9-J1 for emacs-orgmode@gnu.org; Mon, 07 Jun 2010 07:28:43 -0400 Received: from lo.gmane.org ([80.91.229.12]:39376) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLaVQ-0004eb-CQ for emacs-orgmode@gnu.org; Mon, 07 Jun 2010 07:28:36 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OLaVO-0005Xa-Kj for emacs-orgmode@gnu.org; Mon, 07 Jun 2010 13:28:34 +0200 Received: from 62.113.137.5 ([62.113.137.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Jun 2010 13:28:34 +0200 Received: from sb by 62.113.137.5 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Jun 2010 13:28:34 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I'm trying to work on a file created on emacs 22 on Debian lenny, on emacs 21 on RHEL4. The org file in emacs 21 shows up with UTF-8 interpreted as iso-8859-1. I've tried setting the coding explicitly with `C-x RET f utf-8-unix RET' but that didn't seem to make any difference. Are there lisp and mode-specific ways of fixing this? I'd rather not mess with the locale settings... Here are the locale settings: On RHEL4: LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE=POSIX LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= On debian lenny: LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE=POSIX LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=