all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Trouble viewing accented characters
Date: Fri, 19 Sep 2008 21:30:29 +0300	[thread overview]
Message-ID: <gb0r42$veg$1@aioe.org> (raw)
In-Reply-To: mailman.19486.1221760691.18990.help-gnu-emacs@gnu.org

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)
> 
> in your init file.
> 

Your way if all file in single coding. For my Ukraine I have much text
with cp866, cp1251, koi8-r, uft-16-le, utf-8.

I found the method explain coding system already opened file to emacs by
typing C-x <enter> C, type character set of file
(by <TAB> you can learn what are exist) and C-x revert-buffer.

After emacs understand coding of file you may save file in other coding 
system typing C-x <ret> f. This useful tip then need windows CR/LF
convert to UNIX LF.


  parent reply	other threads:[~2008-09-19 18:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-18 13:41 Trouble viewing accented characters Armando Martins
2008-09-18 17:57 ` Peter Dyballa
     [not found] ` <mailman.19486.1221760691.18990.help-gnu-emacs@gnu.org>
2008-09-19 18:30   ` Oleksandr Gavenko [this message]
2008-09-19 19:33     ` Peter Dyballa
     [not found]     ` <mailman.19575.1221852989.18990.help-gnu-emacs@gnu.org>
2008-09-19 19:38       ` Oleksandr Gavenko
2008-09-20 12:38         ` B. T. Raven
     [not found] <mailman.19473.1221753541.18990.help-gnu-emacs@gnu.org>
2008-09-18 16:39 ` Oleksandr Gavenko
2008-09-18 16:44   ` Oleksandr Gavenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gb0r42$veg$1@aioe.org' \
    --to=gavenkoa@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.