I've pursued this before with little success.
In rmail, if a message contains a character from the Windows-1251, such
as substituting a curley closing quotation mark for an apostrophe, it is
displayed like this:
...Petrocaribebs New Objectives
Here the apostrophe, which for some reason the OP wanted to represent as
a curley single closing quotation mark using Windows-1251, appears as
the letter "b".
When I go to save this message, the curley "apostrophe" does not find a
match in my font (DejaVu) and so represents it in octal notation, which
looks like this:
...Petrocaribe\342\200\231s New Objectives
and I get a line in the minibuffer asking me in which coding system to
encode the text I'm saving. The default is raw test. When I save I get
These default coding systems were tried to encode text in the buffer
` rmail-output': (utf-8-unix (504 . 4194274) (505 . 4194176) (506 . 4194201))
However, each of them encountered characters it couldn't encode:
utf-8-unix cannot encode these: ?€ ?
Click on a character (or switch to this window by `C-x o'
and select the characters by RET) to jump to the place it appears,
where `C-u C-x =' will give information about it.
Select one of the safe coding systems listed below,
or cancel the writing with C-g and edit the buffer
to remove or modify the problematic characters,
or specify any other coding system (and risk losing
the problematic characters).
When I do as instructed, C-u C-x = returns, for example:
Char: \342 (4194274, #o17777742, #x3fffe2, raw-byte)
point=506 of 4512 (11%) column=0
And the information buffer offers:
character: ?(4194274, #o17777742, #x3fffe2)
preferred charset: eight-bit (Raw bytes 0-255)
code point: 0xE2
syntax: w which means: word
buffer code: #xE2
file code: not encodable by coding system utf-8-unix
display: no font available
Character code properties are not shown: customize what to show
There are text properties here:
I asked before an got no answer that worked: how do I get emacs to
understand an octal notation for Windows-1251 characters and convert it
into something that is intelligible in plain ASCII, such as converting a
curley closing quotation mark to a apostrophe? Is the only option to put
a conversion table into .emacs to convert the octal notations associated
with Windows-1251 into something more useful? Can I find an example?
What does the line: "syntax: w which means: word" mean?
Haines Brown, KB1GRM