help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Special characters (PHP)


From: Magnus Henoch
Subject: Re: Special characters (PHP)
Date: Sun, 02 Dec 2007 16:40:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (berkeley-unix)

Defacta <vincent.marguerit@gmail.com> 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: "&eacute;" 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]