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

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

Re: Accents with po-mode


From: Eli Zaretskii
Subject: Re: Accents with po-mode
Date: Sat, 18 Jan 2020 17:43:09 +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.




reply via email to

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