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
___________________________________________________________________________
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-requ...@wireshark.org?subject=unsubscribe

Reply via email to