[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Special characters (PHP)
From: |
Defacta |
Subject: |
Re: Special characters (PHP) |
Date: |
Sun, 2 Dec 2007 07:59:01 -0800 (PST) |
User-agent: |
G2/1.0 |
On 2 déc, 16:40, Magnus Henoch <ma...@freemail.hu> wrote:
> Defacta <vincent.margue...@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: "é" 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
set-buffer-file-coding-system set to utf-8 and it works...
Thanks,
Vincent.