This is the mail archive of the
mailing list for the binutils project.
Re: RFC: Displaying multibyte symbol names in readelf
>>>>> "Andreas" == Andreas Schwab <email@example.com> writes:
Andreas> Tom Tromey <firstname.lastname@example.org> 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?