RFC: Displaying multibyte symbol names in readelf
Thu May 31 13:58:00 GMT 2012
>>>>> "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?
More information about the Binutils