public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Using UTF-8 as host charset
@ 2012-03-03 16:34 Mathias Kunter
  2012-03-05 16:13 ` Paul_Koning
  2012-03-05 16:41 ` Tom Tromey
  0 siblings, 2 replies; 12+ messages in thread
From: Mathias Kunter @ 2012-03-03 16:34 UTC (permalink / raw)
  To: gdb

Dear members of the gdb mailing list,

I'm working on a patch for Eclipse which adds full charset support to 
the CDT debugger. We're setting gdb's host-charset to UTF-8 to achieve 
this. There already had been discussion about this back in 2010 here on 
the gdb mailing list. Tom Tromey said back then - quoted from 
http://sourceware.org/ml/gdb/2010-08/msg00129.html

 > It is an oddity that currently an MI consumer must check gdb's
 > host charset in order to know how to decode its output.  I would
 > recommend that the client force it to be UTF-8, but I think this
 > currently may not work with PHONY_ICONV.

So the question is, is it actually a good idea to simply always set 
gdb's host charset to UTF-8? Which hosts do use the phony iconv, and is 
it indeed a problem for them if the host charset is UTF-8?

Note that we're only talking about gdb 7.0 or later. We don't plan to 
support this feature for gdb < 7.0 within CDT.

Thanks for any hints!
Mathias


PS: Just for reference: the corresponding Eclipse bug report can be 
found at https://bugs.eclipse.org/bugs/show_bug.cgi?id=307311

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-03-05 22:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-03 16:34 Using UTF-8 as host charset Mathias Kunter
2012-03-05 16:13 ` Paul_Koning
2012-03-05 18:09   ` Tom Tromey
2012-03-05 18:11     ` Paul_Koning
2012-03-05 21:04       ` Tom Tromey
2012-03-05 16:41 ` Tom Tromey
2012-03-05 16:44   ` Pedro Alves
2012-03-05 20:51   ` Mathias Kunter
2012-03-05 21:13     ` Tom Tromey
2012-03-05 21:34       ` Mathias Kunter
2012-03-05 21:41         ` Tom Tromey
2012-03-05 22:23           ` Mathias Kunter

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).