This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: RFC: Displaying multibyte symbol names in readelf


>>>>> "Andreas" == Andreas Schwab <schwab@linux-m68k.org> writes:

Andreas> Tom Tromey <tromey@redhat.com> writes:
>> I think this has the same issue, though, because printf is just going to
>> assume the current locale's encoding.

Andreas> printf "%s" doesn't use the locale at all.

Yeah, that was a confused way of thinking about it.

But suppose readelf does printf "%s".
How would you interpret the output of readelf?
It is presumably text - but what encoding does it use?

Tom


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