This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Your INTERMEDIATE_ENCODING patch for Solaris


Pierre> So here, the c library iconv functions are used,
Pierre> but the default host-charset is set to ASCII which is
Pierre> not handled by that iconv :(

Tom> I am not sure how this happens with the patch I posted.
Tom> Does this machine define __STDC_ISO_10646__?
Tom> Or did I somehow get the #if logic wrong?

I didn't see an answer to this.
I still don't understand how this particular build is using iconv and
not the phony iconv.

Pierre> I do get a default of '"UTF-8" for Open Solaris machines,
Pierre> but I don't know if other systems might also return "646",
Pierre> but not like the "UTF-8" choice.

AFAIK only Solaris does this.  It seems to me that UTF-8 is not correct,
though -- it may vary by locale.

Maybe we need to go even further and blacklist Solaris from ever using
iconv :-(.  It would help to know the answer to the above.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]