Wireshark-dev: Re: [Wireshark-dev] UTF8 vs. locale in error messages (bug 5715)
From: Stig Bjørlykke <[email protected]>
Date: Wed, 29 Jun 2011 22:45:55 +0200
On Tue, Jun 28, 2011 at 7:01 PM, Guy Harris <[email protected]> wrote:
> In any case, that means that using strerror() is probably not going to be sufficient to fix the problem.  What we might want to do is use UTF-8 everywhere we can, and, for non-GUI output, convert to the appropriate character encoding - whatever that might be - at the last minute.

Ok, what about trying to convert back to locale when output error
messages from tshark?
Something like the attached patch, maybe?

Stig Bjørlykke

Attachment: tshark-print-locale.patch
Description: Binary data