[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Single unrecognized character wrecks entire display
From: |
Alexandre Oberlin |
Subject: |
Re: Single unrecognized character wrecks entire display |
Date: |
Wed, 22 Aug 2012 11:36:21 +0200 |
User-agent: |
Opera Mail/12.00 (Linux) |
Thank you Peter for your answer.
Yes! When you try save a faulty "text" in UTF-8 then GNU Emacs will name
the faulty codes.
The problem is that it names a full list as bad characters, when only one.
utf-8-mac cannot encode these: \351 \350 \351 \342 \351 \234 \350 \350
\311 \240
How can I spot the true non utf-8 without trying them all?
Windows, c'est un peu comme le beaujolais nouveau: à chaque nouvelle
cuvée on sait que ce sera dégueulasse, mais on en prend quand même, par
masochisme.
Masochisme ou obligation ?
Alexandre
On Sun, 19 Aug 2012 00:33:25 +0200, Peter Dyballa <Peter_Dyballa@web.de>
wrote:
Am 18.08.2012 um 18:35 schrieb Alexandre Oberlin:
Is there a way to quickly spot the offending character within emacs in
such cases ?
Yes! When you try save a faulty "text" in UTF-8 then GNU Emacs will name
the faulty codes. \234 is such a faulty code. In HEX it's (U+00)9C –
obviously an 8-bit control character. With \240 or U+00A0 you have again
a text character.
œ is U+0153 or \523. You need to update your translator.
--
Greetings
Pete
Windows, c'est un peu comme le beaujolais nouveau: à chaque nouvelle
cuvée on sait que ce sera dégueulasse, mais on en prend quand même, par
masochisme.
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: Single unrecognized character wrecks entire display, Stefan Monnier, 2012/08/22