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

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().


Stig Bjørlykke