[arch-general] "error: unknown encoding UTF8: using iso88591 as fallback"

Ralf Mardorf ralf.mardorf at rocketmail.com
Fri May 29 13:41:48 UTC 2015


On Fri, 29 May 2015 15:02:16 +0200, Rodrigo Rivas wrote:
>My guess is that you have somewhere a XML file with a wrong declaration
>
>    <?xml version="1.0" encoding="UTF8"?>
>
>where the proper declaration would be:
>
>    <?xml version="1.0" encoding="UTF-8"?>
>
>There are some configuration files both in /etc and $HOME that are
>read upon initialization of Gtk and Qt (see /etc/fonts/*), so I'd
>check those first:

[rocketmouse at archlinux ~]$ grep UTF .config/openbox/rc.xml 
<?xml version="1.0" encoding="UTF-8"?>

[rocketmouse at archlinux ~]$ cat .gtkrc-2.0
# Auto-written by gtk2_prefs. Do not edit.

gtk-theme-name = "Adwaita"
style "user-font"
{
	font_name="FreeSans 12"
}
widget_class "*" style "user-font"

[rocketmouse at archlinux ~]$ cat .config/gtk-3.0/settings.ini
[Settings]
gtk-theme-name=Adwaita
gtk-font-name=FreeSans 12

Neither I see something in the cryptic .config/Trolltech.conf.

[rocketmouse at archlinux ~]$ ls -hAld /etc/fonts/*
drwxr-xr-x 2 root root 4.0K May 28 21:51 /etc/fonts/conf.avail
drwxr-xr-x 2 root root 4.0K May 19 03:19 /etc/fonts/conf.d
-rw-r--r-- 1 root root 5.4K Mar 24  2014 /etc/fonts/fonts.conf
-rw-r--r-- 1 root root 7.1K Mar 24  2014 /etc/fonts/fonts.dtd
drwxr-xr-x 4 root root 4.0K Jun 29  2013 /etc/fonts/infinality

I can't see anything related in
/etc/fonts/fonts.conf,               /etc/fonts/conf.d/50-user.conf,
/etc/fonts/conf.avail/51-local.conf, /etc/fonts/conf.avail/50-user.conf

What ever I check, e.g
[rocketmouse at archlinux ~]$ grep encod .claws-mail/folderlist.xml
<?xml version="1.0" encoding="UTF-8"?>
or lightdm.conf etc., I can't find something unusual.

Regards,
Ralf


More information about the arch-general mailing list