Wireshark-dev: [Wireshark-dev] UTF8 vs. locale in error messages (bug 5715)
From: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Date: Mon, 27 Jun 2011 20:54:10 +0200
Hi.

When looking at bug 5715 I found that we use both UTF8 (from file
names) and locale (from strerror()) in the error messages presented
from simple_dialog().  In vsimple_dialog() we convert all messages
with g_locale_to_utf8(), which will wrongly convert the file name
(like in the bug report).  When using Norwegian characters in the file
name the text in the dialog is empty.

Any ideas how we should fix this?  Convert all messages from
strerror() when putting the text into the error string and remove the
conversion in vsimple_dialog()?
We have about 240 calls to strerror().

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5715


-- 
Stig Bjørlykke