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: MENGUAL Jean-Philippe
Subject: Re: Accents with po-mode
Date: Sun, 19 Jan 2020 01:45:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Thunderbird/74.0a1

oh marevelous! That is it! Many thanks! I did not think the content of the PO file could have a consequence about the buffer behavior in Emacs. The problem is now fixed, many thanks!

Best regards


Logo Hypra      JEAN-PHILIPPE MENGUAL
DIRECTEUR TECHNIQUE ET QUALITÉ
102, rue des poissonniers, 75018, Paris
Tel : +331 84 73 06 61 <tel:+33184730661> Mob : +336 76 34 93 37
<tel:+33676349337>
address@hidden <mailto:address@hidden>
www.hypra.fr <http://www.hypra.fr/>
Facebook Hypra <https://www.facebook.com/hyprasoftware/> Twitter Hypra
<https://twitter.com/Hypra_> Linkedin Jean-Philippe
<https://fr.linkedin.com/in/jean-philippe-mengual-800133135>



Le 18/01/2020 à 16:43, Eli Zaretskii a écrit :
Date: Sat, 18 Jan 2020 17:33:56 +0200
From: Eli Zaretskii <address@hidden>

From: MENGUAL Jean-Philippe <address@hidden>
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]