Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: FYI: fix Solaris problem with auto host charset
Date: Sat, 18 Apr 2009 17:12:00 -0000	[thread overview]
Message-ID: <m3bpqt7uo0.fsf@fleche.redhat.com> (raw)
In-Reply-To: <83y6tyihzh.fsf@gnu.org> (Eli Zaretskii's message of "Sat\, 18 Apr 2009 09\:38\:42 +0300")

>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

Eli> Btw, why is the code assuming that nl_langinfo always returns a
Eli> meaningful result?

Oversight.

Eli> Also, I don't quite get the reason why nl_langinfo is not called in
Eli> the PHONY_ICONV case.  It seems we blindly assume the native charset
Eli> is Latin-1 in that case, but perhaps nl_langinfo, if it exists, will
Eli> give a better guess?

In the PHONY_ICONV case we have no way to convert between character
sets.  I think this only affects u'' and U''; so it really a matter of
which failure you want in this situation.

If you want to change this, it is fine by me.

Tom


  reply	other threads:[~2009-04-18 17:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-17 23:50 Tom Tromey
2009-04-18  6:38 ` Eli Zaretskii
2009-04-18 17:12   ` Tom Tromey [this message]
2009-04-21 18:53     ` Tom Tromey
2009-04-21 19:06       ` Eli Zaretskii
2009-04-21 19:13         ` Tom Tromey

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=m3bpqt7uo0.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.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