From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Accents with po-mode
Date: Sat, 18 Jan 2020 17:43:09 +0200 [thread overview]
Message-ID: <83r1zwzs6q.fsf@gnu.org> (raw)
In-Reply-To: <83sgkczsm3.fsf@gnu.org> (message from Eli Zaretskii on Sat, 18 Jan 2020 17:33:56 +0200)
> Date: Sat, 18 Jan 2020 17:33:56 +0200
> From: Eli Zaretskii <eliz@gnu.org>
>
> > From: MENGUAL Jean-Philippe <mengualjeanphi@free.fr>
> > Date: Sat, 18 Jan 2020 16:18:11 +0100
> >
> > >> Char: é (233, #o351, #xe9, file ...) point=3 of 2140 (0%) column=2
> > >
> > > So Emacs shows the correct character in the buffer popped up by
> > > "C-u C-x =", but it shows \351 for the same character in the buffer
> > > where you edit the PO file?
> >
> > Indeed
>
> Interesting
Actually, I think I know what happens: the buffer in which you edit
the PO file is a unibyte buffer.
So I suggest to replace CHARSET in this line:
"Content-Type: text/plain; charset=CHARSET\n"
with
"Content-Type: text/plain; charset=UTF-8\n"
then save the buffer and visit the file again. Now these problems
should go away.
next prev parent reply other threads:[~2020-01-18 15:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-16 7:49 Accents with po-mode MENGUAL Jean-Philippe
2020-01-16 9:57 ` Robert Pluim
2020-01-18 0:09 ` MENGUAL Jean-Philippe
2020-01-18 8:11 ` Eli Zaretskii
2020-01-18 9:09 ` MENGUAL Jean-Philippe
2020-01-18 9:38 ` Eli Zaretskii
2020-01-18 10:29 ` MENGUAL Jean-Philippe
2020-01-18 11:20 ` Eli Zaretskii
2020-01-18 12:15 ` MENGUAL Jean-Philippe
2020-01-18 12:42 ` Eli Zaretskii
2020-01-18 15:18 ` MENGUAL Jean-Philippe
2020-01-18 15:33 ` Eli Zaretskii
2020-01-18 15:43 ` Eli Zaretskii [this message]
2020-01-19 0:45 ` MENGUAL Jean-Philippe
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=83r1zwzs6q.fsf@gnu.org \
--to=eliz@gnu.org \
--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.