<p><br> On Dec 13, 2011 10:46 PM, "Jarry" <<a href="mailto:mr.jarry@gmail.com">mr.jarry@gmail.com</a>> wrote:<br> ><br> > Hi,<br> > I just tried to update my system but emerging app-misc/ca-certificate<br> > failed with this error:<br> > -------------------<br> > File "/usr/lib64/portage/pym/portage/__init__.py", line 178, in _unicode_encode<br> > s = s.encode(encoding, errors)<br> > UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in position 68: ordinal not in range(128)<br> ><br> > >>> Failed to install app-misc/ca-certificates-20111025, Log file:<br> ><br> > * This package installs one or more file names containing characters that<br> > * do not match your current locale settings. The current setting for<br> > * filesystem encoding is 'ANSI_X3.4-1968'.<br> ><br> > * For best results, UTF-8 encoding is recommended. See the Gentoo Linux<br> > * Localization Guide for instructions about how to configure your<br> > * locale for UTF-8 encoding:<br> > *<br> > * <a href="http://www.gentoo.org/doc/en/guide-localization.xml">http://www.gentoo.org/doc/en/guide-localization.xml</a><br> > -------------------<br> ><br> > I did not have any /etc/env.d/02locale file, so I created<br> > one with LANG="en_GB.UTF-8" in it, but I still get the same<br> > error. I tried en_US.UTF-8 or en_EN.UTF-8 with the same<br> > results. I really do not understand what ca-certificates<br> > needs to get it installed...<br> ></p> <p>Have you tried locale-gen and env-update ?</p> <p>Rgds,<br> </p>