unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: patrol <patrol_boat@hotmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: character encoding confusion
Date: Thu, 8 Jul 2010 06:30:42 -0700 (PDT)	[thread overview]
Message-ID: <09f7f510-2d5e-4d2d-afcd-576df7277016@g19g2000yqc.googlegroups.com> (raw)
In-Reply-To: 87eifewhr6.fsf@lion.rapttech.com.au

On Jul 8, 3:32 am, Tim X <t...@nospam.dev.null> wrote:

> There has been a lot of chnage in emacs encoding and there are a number
> of possibilities.
>
> 1. What version of emacs?

The latest stable release, 23.2

> 2. Can you clarify what you mean by you created a program in C that
> requires the degree symbol. Do you mean it needs that character in the
> source code, as standard input or as a value in an input file? Are you
> running the program inside emacs or are you generating datafiles for the
> program to consume etc.

It's just a temperature table that I'm printing, so I need to print
"degree symbol"F. My code for that was printf("%cF", 176), which gave
me "shaded box"F.

> 3. Depending on how this is all interacting, your OS locale settings,
> whether your running in GUI mode under X or within an xterm or the
> console can all be relevant.

Yes, I think I understand the problem better now (see response to
John) and I agree that the OS locale settings are relevant. Thank you.



      reply	other threads:[~2010-07-08 13:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-07 16:27 character encoding confusion patrol
2010-07-07 22:37 ` Pascal J. Bourguignon
2010-07-08  0:19   ` patrol
2010-07-08  1:15     ` Barry Margolin
2010-07-08 15:40     ` Pascal J. Bourguignon
2010-07-08  1:38 ` John Bokma
2010-07-08 13:24   ` patrol
2010-07-08  7:32 ` Tim X
2010-07-08 13:30   ` patrol [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=09f7f510-2d5e-4d2d-afcd-576df7277016@g19g2000yqc.googlegroups.com \
    --to=patrol_boat@hotmail.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.
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).