public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Morten Poulsen <morten@afdelingp.dk>
To: tromey@redhat.com
Cc: Oskar Liljeblad <oskar@osk.mine.nu>, java@gcc.gnu.org
Subject: Re: outputting iso-8859-1 chars
Date: Wed, 01 May 2002 04:09:00 -0000	[thread overview]
Message-ID: <1020251340.401.28.camel@prefect> (raw)
In-Reply-To: <87it6adzn5.fsf@creche.redhat.com>

On Mon, 2002-04-29 at 22:21, Tom Tromey wrote:
> If this program doesn't print ISO-8859-1 (or some alias) when
> LC_CTYPE=en_GB, then I think the problem is in your libc.  Otherwise
> maybe the problem is in libjava; you'd have to do some debugging to
> figure out what is going wrong.

Oskar Liljeblad gave me a hint about setting up locales correctly.

$ ./a.out 
ANSI_X3.4-1968
$ LC_CTYPE=en_GB ./a.out 
ISO-8859-1

$ ./hello
xxx?xxx
$ LC_CTYPE=en_GB ./hello
xxxåxxx

Thanks for the help,
Morten

-- 
Morten Poulsen <morten@afdelingp.dk>
http://www.afdelingp.dk/

      reply	other threads:[~2002-05-01 11:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-24 15:56 Morten Poulsen
2002-04-24 22:48 ` Tom Tromey
2002-04-25  2:00   ` Morten Poulsen
2002-04-25  3:49     ` Oskar Liljeblad
2002-04-25 20:25       ` Morten Poulsen
2002-04-30  0:22         ` Tom Tromey
2002-05-01  4:09           ` Morten Poulsen [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

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

  git send-email \
    --in-reply-to=1020251340.401.28.camel@prefect \
    --to=morten@afdelingp.dk \
    --cc=java@gcc.gnu.org \
    --cc=oskar@osk.mine.nu \
    --cc=tromey@redhat.com \
    /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).