unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jarek Czekalski <jarekczek@poczta.onet.pl>
Cc: 15274@debbugs.gnu.org
Subject: bug#15274: 24.3; space instead of codepoint 261 on windows console with cp852
Date: Thu, 05 Sep 2013 19:06:36 +0300	[thread overview]
Message-ID: <834n9zntgz.fsf@gnu.org> (raw)
In-Reply-To: <52285A21.5070207@poczta.onet.pl>

> Date: Thu, 05 Sep 2013 12:17:05 +0200
> From: Jarek Czekalski <jarekczek@poczta.onet.pl>
> 
> I start emacs -Q -nw, set terminal encoding to cp852.
> When the file is loaded into console emacs (-nw) and the correct
> file encoding is assured (revert-buffer-with-coding, cp852)
> then some characters are displayed correctly and some not. Those
> displayed incorrectly are replaced with spaces. For example
> the first one in the file ("a" with a tail, U+0105) is displayed
> incorrectly and the second one ("c" with an accent, U+0107)
> is displayed correctly.

Does the file display correctly if you visit it with the following
command, which instructs Emacs to visit the file as cp852 to begin
with:

  C-x RET c cp852 RET C-x C-f win_cp.txt RET

instead of first visiting it with the default encoding, and then
reverting it with the correct encoding?





  reply	other threads:[~2013-09-05 16:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05 10:17 bug#15274: 24.3; space instead of codepoint 261 on windows console with cp852 Jarek Czekalski
2013-09-05 16:06 ` Eli Zaretskii [this message]
     [not found] ` <5229E73C.4010408@poczta.onet.pl>
2021-07-15  5:51   ` Lars Ingebrigtsen
2021-08-12 15:07     ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=834n9zntgz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=15274@debbugs.gnu.org \
    --cc=jarekczek@poczta.onet.pl \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).