From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fedor Khod'kov Newsgroups: gmane.emacs.help Subject: Re: Coding system prefer Date: Wed, 4 Mar 2009 14:51:36 +0300 Message-ID: <20090304115136.GC4261@localhost> References: <830bd086-fb17-4d24-97a0-7f394bd705a1@x38g2000yqj.googlegroups.com> <08d040d9-1324-4d34-bc6f-9c77bb7a282f@f1g2000prb.googlegroups.com> <87wsb6k2af.fsf@iki.fi> <95acf349-49db-4128-96d3-7e8a25405371@r34g2000vba.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1236174806 18039 80.91.229.12 (4 Mar 2009 13:53:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Mar 2009 13:53:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 04 14:54:40 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LerYV-0008OC-Ay for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Mar 2009 14:54:39 +0100 Original-Received: from localhost ([127.0.0.1]:53239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LerXA-0004dF-5Y for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Mar 2009 08:53:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lepky-0004mf-6h for help-gnu-emacs@gnu.org; Wed, 04 Mar 2009 06:59:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lepkw-0004kl-JJ for help-gnu-emacs@gnu.org; Wed, 04 Mar 2009 06:59:23 -0500 Original-Received: from [199.232.76.173] (port=53264 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lepkw-0004kT-C4 for help-gnu-emacs@gnu.org; Wed, 04 Mar 2009 06:59:22 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.157]:60857) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lepkv-0006HM-Uj; Wed, 04 Mar 2009 06:59:22 -0500 Original-Received: by fg-out-1718.google.com with SMTP id l27so206438fgb.30 for ; Wed, 04 Mar 2009 03:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=ocoVTOvxoiVR9DS64b+EHASqvXigadj6ptwuCm3SiI0=; b=eyFgWbQ3Olv8CL0jbr9ufkNvXcGC+1blX5MZoRwxWiCeYSn9/IUfjYgURhA1YgAv/t uVQVMCU/ZjJW0y5M1yu34c7jjfzNjB6pGxP9bxdGk0pBR+LZjp4pCJ73g2HoEnVEy7X6 6mnCKazVvz79Qr2lIXq+Hll68X2WzaZ4OVl0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; b=O7KvMLJ4BN2IF1yTLJKULIOM8KSuWMVtGbe1ig+aJ2PwlEQl3d59i1Mm3kW6Qq42fl Iax/Jiv5MJBM7R0VrKnxp7FuetXWdKR7tMmP/gkAyRptCyYkChTMB4O92laVYtp6BWb9 ke5oWtA65C4uSKvIi3IqEBomcxYin2k7CRFJs= Original-Received: by 10.86.100.19 with SMTP id x19mr11815fgb.29.1236167960080; Wed, 04 Mar 2009 03:59:20 -0800 (PST) Original-Received: from localhost (home.istra.ru [82.204.188.241]) by mx.google.com with ESMTPS id e20sm1870976fga.56.2009.03.04.03.59.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Mar 2009 03:59:19 -0800 (PST) Mail-Followup-To: Fedor Khod'kov , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <95acf349-49db-4128-96d3-7e8a25405371@r34g2000vba.googlegroups.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 04 Mar 2009 08:34:00 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62577 Archived-At: Tue, Mar 03, 2009 at 12:55:32PM -0800, Maze wrote: > On 3 อมา, 19:18, Teemu Likonen wrote: > > > If the files can be detected by filename then variable auto-coding-alist > > may be useful. > > No. All files are *.txt :( > Can't believe, that Emacs don't auto-detect these encodings... > May be I can use any external package for Emacs to resolve this > problem? Probably this can help: auto-enca.el --- automatically detect coding system with Enca http://www.archivum.info/gnu.emacs.sources/2007-06/msg00035.html It uses external utility called "enca" to detect charset. This utility can be found here: http://packages.debian.org/source/lenny/enca --