<div dir="ltr"><div><div><div><div><div><div>Hi Cole!<br><br></div>This issue is not happening with me. It is happening with another user here.<br></div>Today, he sent to me the message:<br><b><i>Gtk-WARNING **: Locale not supported by C library.<br>    Using the fallback 'C' locale.</i></b><br></div><div><br></div>Sorry, I'm not want to say that my patch really fix something, because virt-manager works<br>fine without locale.setlocale(locale.LC_ALL, ''). But as described into python documentation:<br><br>"<i><tt class="">getdefaultlocale(): </tt>According to POSIX, a program which has not called <tt class=""><span class="">setlocale(LC_ALL,</span> <span class="">'')<br></span></tt>runs using the portable <tt class=""><span class="">'C'</span></tt> locale.  Calling <tt class=""><span class="">setlocale(LC_ALL,</span> <span class="">'')</span></tt> lets
it use the default locale as <br>defined by the <span class="" id="index-2"></span><tt class=""><span class="">LANG</span></tt> variable.  Since we
do not want to interfere with the current locale <br>setting we thus emulate the
behavior in the way described above</i>."<br><br></div>So, the intention is to avoid that Gtk uses the portable 'C' locale changing the "pass" into<br>locale.setlocale(locale.LC_ALL, locale.getdefaultlocale()) since getdefaultlocale() will return<br></div><div>the content of LANG. Well, as we see today it is not working even if we set using the<br>getdefaultlocale() when glibc-common has a locale bug. Gtk is still using 'C' locale.<br><br></div><div>Strange.<br></div></div></div>