Version: (using KDE 4.4.1) Compiler: gcc version 4.3.4 (Gentoo 4.3.4 p1.1, pie-10.1.5) OS: Linux Installed from: Gentoo Packages I'm using KDE 4.4.1 (Gentoo Linux) with French localization. My system is configured to use UTF-8: LANG="fr_FR.UTF-8" LANGUAGE="fr_FR.UTF-8" Steps to reproduce: - Run system settings - Add a camera: Canon PowerShot A710 IS (PTP) - Click on Configure icon, select second tab: 'é' character is displayed with wrong charset (probably considering UTF-8 character as ISO-8859-1 bytes)
Created attachment 41803 [details] Screenshot
The same charset issue happens in the window displayed when clicking on Information icon (to get model, serial number, etc)
I don't see the strings you mention which are not utf8. Maybe they come from GPhoto. The camera kcm translation file for KDE 4.4 branch is located at http://websvn.kde.org/branches/stable/l10n-kde4/fr/messages/kdegraphics/kcmkamera.po?revision=1084992&view=markup so you can have a look yourself. Can you use grep and somehow see where those messages come from? Thanks in advance!
Actually these messages are not in your file and I just found these strings in libgphoto2 sources available on sourceforge: http://gphoto.svn.sourceforge.net/viewvc/gphoto/branches/libgphoto2-2_4/libgphoto2/po/fr.po?revision=12156&view=markup fr.po file contains "Content-Type: text/plain; charset=ISO-8859-1" and the French strings are encoded as ISO-8859-1, which seems consistent for this translation file. Does it mean that the bug is in (lib)gphoto2 which should convert the strings into UTF-8 before providing them to KDE settings UI? Or does the conversion into the UI charset concern KDE part?
Checking my configuration, I have all (?) env values set to UTF-8: patrick ~ # env | grep fr_FR LC_PAPER=fr_FR.UTF-8 LC_ADDRESS=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8 KEYMAP=fr_FR.UTF-8 LC_NUMERIC=fr_FR.UTF-8 LC_ALL=fr_FR.UTF-8 LC_TELEPHONE=fr_FR.UTF-8 LC_MESSAGES=fr_FR.UTF-8 LC_COLLATE=fr_FR.UTF-8 LANG=fr_FR.UTF-8 LC_MEASUREMENT=fr_FR.UTF-8 LANGUAGE=fr_FR.UTF-8 LC_CTYPE=fr_FR.UTF-8 LC_TIME=fr_FR.UTF-8 LC_NAME=fr_FR.UTF-8
yes the libgphoto2 files should be utf8. Can you file a bug report to them about this? UTF8 ensures that any language can be render correctly which is why we use it in a project like KDE. In any case, thanks a lot for your very quick answer! I'm closing this report as the strings are not in KDE.
FYI, bug reported in gPhoto bug tracker: https://sourceforge.net/tracker/?func=detail&aid=2986632&group_id=8874&atid=108874