unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: ken <ken@cleveland.lug.net>
Cc: <help-gnu-emacs@gnu.org>
Subject: Re: displaying the EUR-Sign in normal buffers
Date: Mon, 7 Oct 2002 20:48:21 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.33.0210072037500.1908-100000@heidegger.mousecar.net> (raw)
In-Reply-To: <5lofa5hnzj.fsf@rum.cs.yale.edu>


You might be right.  I've got some alternate language sets installed.  

Do a gcc on the file below:

<chars.c>
#include <stdio.h>

main()
{
  int i;
  
  for(i = 1; i < 256; i++) 
    printf("%3d\t%3o\t%c\n", i, i, i);
  
}
</chars.c>

then run the executable.  The columns are Decimal, Octal, and the 
corresponding character.  Is octal 244 your Euro sign?


hth,
ken

-- 
AMD crashes?  See http://cleveland.lug.net/~ken/amd-problem/.

Spake Stefan Monnier <foo@acm.com> at 18:40 (UTC-0400) on 7 Oct 2002:

= >>>>> "ken" == ken  <ken@cleveland.lug.net> writes:
= > The octal for (the extended ASCII of) the Euro sign is 244.
= 
= Sadly, this is meaningless because the octal code depends on the
= encoding used.  In cp1252 it's 128, in latin-9 is something else,
= in utf-8 it's yet something else, ...
= 
= > So to get  it in emacs, do C-q 244 RETURN (or SPACE or whatever).
= > This works for  me.  I'm using 8859-1 encoding.
= 
= No, you're not using 8859-1 encoding because that encoding does not have
= any Euro sign at all.
= 
= I feel like I'm sounding very harsh, tho.  Maybe I've had a bad day,
= I don't know.  I apologize in advance.
= 
= 
=         Stefan
= _______________________________________________
= Help-gnu-emacs mailing list
= Help-gnu-emacs@gnu.org
= http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
= 

      reply	other threads:[~2002-10-08  0:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-04 14:14 displaying the EUR-Sign in normal buffers Klaus Berndl
2002-10-04 16:19 ` Stefan Monnier <foo@acm.com>
2002-10-06 10:11   ` maierh
2002-10-07 11:23   ` Klaus Berndl
2002-10-07 20:26     ` Stefan Monnier <foo@acm.com>
2002-10-07 20:33     ` Piet van Oostrum
2002-10-07 20:34     ` Stefan Monnier <foo@acm.com>
2002-10-07 21:09       ` ken
     [not found]       ` <mailman.1034025011.22999.help-gnu-emacs@gnu.org>
2002-10-07 22:40         ` Stefan Monnier <foo@acm.com>
2002-10-08  0:48           ` ken [this message]

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=Pine.LNX.4.33.0210072037500.1908-100000@heidegger.mousecar.net \
    --to=ken@cleveland.lug.net \
    --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.
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).