Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] UTF8 vs. locale in error messages (bug 5715)

From: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Date: Wed, 29 Jun 2011 22:45:55 +0200
On Tue, Jun 28, 2011 at 7:01 PM, Guy Harris <guy@xxxxxxxxxxxx> 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