From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rajinder Yadav Newsgroups: gmane.emacs.help Subject: Re: strange error Date: Sat, 13 Nov 2010 23:23:07 -0500 Message-ID: <4CDF642B.3080300@gmail.com> References: <4CDDFEE5.10306@gmail.com> <4CDF5854.4090300@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289708652 14629 80.91.229.12 (14 Nov 2010 04:24:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 14 Nov 2010 04:24:12 +0000 (UTC) To: emacs-help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 14 05:24:03 2010 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.69) (envelope-from ) id 1PHU7q-0007Sx-FU for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Nov 2010 05:24:00 +0100 Original-Received: from localhost ([127.0.0.1]:57710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHU7j-0000CP-Sw for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Nov 2010 23:23:27 -0500 Original-Received: from [140.186.70.92] (port=49824 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHU7V-0000CF-Ba for help-gnu-emacs@gnu.org; Sat, 13 Nov 2010 23:23:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHU7T-0002VV-18 for help-gnu-emacs@gnu.org; Sat, 13 Nov 2010 23:23:12 -0500 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:64776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHU7S-0002VK-TQ for help-gnu-emacs@gnu.org; Sat, 13 Nov 2010 23:23:10 -0500 Original-Received: by iwn9 with SMTP id 9so5910988iwn.0 for ; Sat, 13 Nov 2010 20:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=LOeT5d67RfppqfFbiH7AX5eYB14faMKPpF5O+VJbE3M=; b=tLVtnvKzCNoXbaIiNSXYyuDTvZJLa/p8SlW1Qypk4bXDn/8UEcN+QUrh99JzHq/SET nQFAGsBoMgxmIspbb8OMFb6zrwRBJUMdzR3wprPs985XYxyytrAn19hDjzMANlRUBYlK iHuz8LooBtnGFE6hjPicr446GWK+AKinV7CBg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Kvtn9RS7JlZ8mevQP0EI+gZ4+9mNoC6Zs7I9dN0rFjrGR7HcKpSijHjwlcnLJ6vUZz Epwm9+AV+g8jEqspWceMlE6j5kU5hWvfjLYLMZL6qX14LmyPM7JhV9Q7OrotvLXGz/LM 6EH90HZRjQUkdrzTrW6KJO82Z1BczHJFvzqaI= Original-Received: by 10.42.117.68 with SMTP id s4mr3387317icq.73.1289708589502; Sat, 13 Nov 2010 20:23:09 -0800 (PST) Original-Received: from [192.168.2.100] (dsl-173-248-230-235.acanac.net [173.248.230.235]) by mx.google.com with ESMTPS id gy41sm5667003ibb.5.2010.11.13.20.23.08 (version=SSLv3 cipher=RC4-MD5); Sat, 13 Nov 2010 20:23:08 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:75378 Archived-At: On 10-11-13 11:01 PM, Daniel Pittman wrote: > Rajinder Yadav writes: >> On 10-11-13 08:05 PM, Daniel Pittman wrote: >>> Rajinder Yadav writes: >>> >>>> Is there a way to force emacs to save in utf-8 ? I was cutting and pasting >>>> code out of emacs and getting strange errors. I then opened up another >>>> editor, pasted in there and then copied out of 2nd editor and pasted the >>>> code and everything was fine, strange error gone! >>> >>> You can change the encoding of a buffer with 'C-x RET f', which invokes >>> `set-buffer-file-coding-system' - that will allow you to set the buffer to >>> UTF-8 or any other supported encoding. >> >> Thanks Daniel, just a follow up, is there a way to show what encoding is being >> used along the bottom status bar? > > It should, by default, in the bottom left. Usually just a one character > indicator, like the 'U' I see for this UTF-8 buffer. :) > > See Info node `(emacs) Mode Line' for details on the interpretation of that. > Daniel > hmm not seeing that? i am using a ruby on rails setup with ecb and cedet, i wonder if one of those are doing something with the mode line. btw, didn't realize i replied back to you and not the emacs help, doh, back on the list. thanks again! -- Kind Regards, Rajinder Yadav