Re: Trouble viewing accented characters
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Re: Trouble viewing accented characters         


Author: Peter Dyballa
Date: Sep 18, 2008 10:57

Am 18.09.2008 um 15:41 schrieb Armando Martins:
> how can I view the accented characters correctly, please?

By setting the right encoding for the text in the buffer! The ISO
Latin encodings are fine, some MS Losedos code pages (125[02]) also
have LATIN SMALL LETTER [EO] WITH ACUTE on code points octal \351
resp. \363.

The mode-line of a recent GNU Emacs shows the encoding used in the
buffer, the Options menu has a Mule entry which lets you choose
another coding system by reverting this file now (C-x RET r).

Setting environment variables like LANG or LC_CTYPE to a reasonable
value can enable GNU Emacs to use this reasonable value to present
you a text file's contents. You can also try to set

(prefer-coding-system 'iso-8859-15)

in your init file.

--
Greetings

Pete

Bake pizza not war!
4 Comments
Re: Trouble viewing accented characters         


Author: Oleksandr Gavenko
Date: Sep 19, 2008 11:30

Peter Dyballa пишет:
>
> Am 18.09.2008 um 15:41 schrieb Armando Martins:
>
>> how can I view the accented characters correctly, please?
>
> By setting the right encoding for the text in the buffer! The ISO Latin
> encodings are fine, some MS Losedos code pages (125[02]) also have LATIN
> SMALL LETTER [EO] WITH ACUTE on code points octal \351 resp. \363.
>
> The mode-line of a recent GNU Emacs shows the encoding used in the
> buffer, the Options menu has a Mule entry which lets you choose another
> coding system by reverting this file now (C-x RET r).
>
> Setting environment variables like LANG or LC_CTYPE to a reasonable
> value can enable GNU Emacs to use this reasonable value to present you a
> text file's contents. You can also try to set
>
> (prefer-coding-system 'iso-8859-15)
> ...
Show full article (1.31Kb)
no comments
Re: Trouble viewing accented characters         


Author: Peter Dyballa
Date: Sep 19, 2008 12:33

Am 19.09.2008 um 20:30 schrieb Oleksandr Gavenko:
> C-x C

C-x RET c – as in the menu.

--
Greetings

Pete

Engineer: a mechanism for converting caffeine into designs
2 Comments
Re: Trouble viewing accented characters         


Author: Oleksandr Gavenko
Date: Sep 19, 2008 12:38

Peter Dyballa пишет:
>
> Am 19.09.2008 um 20:30 schrieb Oleksandr Gavenko:
>
>> C-x C
>
> C-x RET c – as in the menu.
>
Yea, sorry mistyped.
no comments
Re: Trouble viewing accented characters         


Author: B. T. Raven
Date: Sep 20, 2008 05:38

Oleksandr Gavenko wrote:
> Peter Dyballa пишет:
>>
>> Am 19.09.2008 um 20:30 schrieb Oleksandr Gavenko:
>>
>>> C-x C
>>
>> C-x RET c – as in the menu.
>>
> Yea, sorry mistyped.

For the sake of completeness, it's also M-x revert-buffer, not C-x
revert-buffer.
no comments