From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Magnus Henoch Newsgroups: gmane.emacs.help Subject: Re: Special characters (PHP) Date: Sun, 02 Dec 2007 16:40:49 +0100 Message-ID: <87tzn15cla.fsf@freemail.hu> 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: 8bit X-Trace: ger.gmane.org 1196610105 16982 80.91.229.12 (2 Dec 2007 15:41:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2007 15:41:45 +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 16:41:54 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 1Iyqx4-0007Xv-B0 for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Dec 2007 16:41:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iyqwo-0007sf-0B for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Dec 2007 10:41:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iyqwa-0007sE-EK for help-gnu-emacs@gnu.org; Sun, 02 Dec 2007 10:41:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IyqwY-0007qt-Uu for help-gnu-emacs@gnu.org; Sun, 02 Dec 2007 10:41:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyqwY-0007qq-Sx for help-gnu-emacs@gnu.org; Sun, 02 Dec 2007 10:41:18 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IyqwY-000480-JA for help-gnu-emacs@gnu.org; Sun, 02 Dec 2007 10:41:18 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IyqwB-00072F-Hm for help-gnu-emacs@gnu.org; Sun, 02 Dec 2007 15:40:55 +0000 Original-Received: from etthundrat.olf.sgsnet.se ([193.11.222.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Dec 2007 15:40:55 +0000 Original-Received: from mange by etthundrat.olf.sgsnet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Dec 2007 15:40:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: etthundrat.olf.sgsnet.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (berkeley-unix) Cancel-Lock: sha1:EoyZZO2GnSbHGLMVvBeU3kumle4= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:49771 Archived-At: Defacta writes: > When I code using php-mode the result of special characters are for > example: > "Se d�connecter" instead of "Se déconnecter". > > 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 "é" 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