From: Magnus Henoch <mange@freemail.hu>
To: help-gnu-emacs@gnu.org
Subject: Re: Special characters (PHP)
Date: Sun, 02 Dec 2007 16:40:49 +0100 [thread overview]
Message-ID: <87tzn15cla.fsf@freemail.hu> (raw)
In-Reply-To: 1e0bd17f-3fb7-4718-9503-d83223410409@s36g2000prg.googlegroups.com
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: "é" 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
next prev parent reply other threads:[~2007-12-02 15:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-02 13:30 Special characters (PHP) Defacta
2007-12-02 14:09 ` Lennart Borgman (gmail)
2007-12-02 15:40 ` Magnus Henoch [this message]
[not found] ` <mailman.4414.1196604563.18990.help-gnu-emacs@gnu.org>
2007-12-02 15:54 ` Defacta
2007-12-02 16:51 ` Lennart Borgman (gmail)
2007-12-03 3:29 ` Stefan Monnier
[not found] ` <mailman.4416.1196610081.18990.help-gnu-emacs@gnu.org>
2007-12-02 15:59 ` Defacta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tzn15cla.fsf@freemail.hu \
--to=mange@freemail.hu \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.