Wireshark mailing list archives

Re: UTF8 vs. locale in error messages (bug 5715)


From: Stig Bjørlykke <stig () bjorlykke org>
Date: Wed, 29 Jun 2011 22:45:55 +0200

On Tue, Jun 28, 2011 at 7:01 PM, Guy Harris <guy () alum mit edu> 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:

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: