From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.devel Subject: Re: Editing exportet registry files Date: Thu, 07 Jul 2005 20:56:42 +0200 Message-ID: References: <3BD964BFBD32F743B1F738A249368ABD0181C888@nh2mail01.in.bosch.com> <1120211351.42c511974f00d@l01.iue.tuwien.ac.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120762818 22998 80.91.229.2 (7 Jul 2005 19:00:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2005 19:00:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 07 21:00:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DqbbN-000279-U2 for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2005 21:00:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dqbcl-0007tU-6x for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2005 15:01:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DqbcZ-0007tI-Gt for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:01:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DqbcX-0007t0-Fy for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:01:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqbcX-0007sx-BE for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:01:13 -0400 Original-Received: from [193.99.153.30] (helo=seneca.benny.turtle-trading.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DqbhL-00075v-Kj for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:06:12 -0400 Original-Received: from seneca.benny.turtle-trading.net.turtle-trading.net (seneca.benny.turtle-trading.net [127.0.0.1]) (authenticated bits=0) by seneca.benny.turtle-trading.net (8.12.8/8.12.8) with ESMTP id j67IuiLn003078; Thu, 7 Jul 2005 20:56:50 +0200 Original-To: Juanma Barranquero In-Reply-To: (Juanma Barranquero's message of "Thu, 7 Jul 2005 15:35:54 +0200") User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40577 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40577 Hi Juanma, Juanma Barranquero writes: > Basically I want to use latin-9 for everything, but I want to be > able to do C-x C-f my-utf-16-file and get it decoded right. Have you tried to do something like this: (prefer-coding-system 'utf-16le-with-signature) (prefer-coding-system 'latin-9) I.e. first put UTF-16 on the "priority list for automatic detection" and than override it again with Latin-9 for the defaults. benny