From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Defacta Newsgroups: gmane.emacs.help Subject: Re: Special characters (PHP) Date: Sun, 2 Dec 2007 07:59:01 -0800 (PST) Organization: http://groups.google.com Message-ID: <240c93e9-5861-4e1c-90e2-a279ec3e2f90@a35g2000prf.googlegroups.com> References: <1e0bd17f-3fb7-4718-9503-d83223410409@s36g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1196613680 27165 80.91.229.12 (2 Dec 2007 16:41:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2007 16:41:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 02 17:41:29 2007 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 1Iyrsm-0000AX-On for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Dec 2007 17:41:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyrsW-00049n-EG for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Dec 2007 11:41:12 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!a35g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 77.216.206.158 Original-X-Trace: posting.google.com 1196611141 19419 127.0.0.1 (2 Dec 2007 15:59:01 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 2 Dec 2007 15:59:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a35g2000prf.googlegroups.com; posting-host=77.216.206.158; posting-account=uOpIEQoAAABQV8VXB3Hr-t8WjKE0lAE1 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) Content-Disposition: inline Original-Xref: shelby.stanford.edu gnu.emacs.help:154346 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:49776 Archived-At: On 2 d=C3=A9c, 16:40, Magnus Henoch wrote: > Defacta writes: > > When I code using php-mode the result of special characters are for > > example: > > "Se d=EF=BF=BDconnecter" instead of "Se d=C3=A9connecter". > > > Do you know what I should do to be able to use emacs with special > > characters not to have to use stuff like: "é" for the "=C3=A9" > > I suspect that there is a mismatch between the encoding of the file and > the encoding that the web server expects. > > Try C-x C-m f (set-buffer-file-coding-system). Enter either latin-1 or > utf-8; then save and see if it works. (I suspect that latin-1 is the > right choice) > > Magnus set-buffer-file-coding-system set to utf-8 and it works... Thanks, Vincent.