[Bug 1118870] New: K3b uses wrong encoding for file names and media tags (complains of missing LC_* environment variables)
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870 Bug ID: 1118870 Summary: K3b uses wrong encoding for file names and media tags (complains of missing LC_* environment variables) Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: stephanv778@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- On Startup K3b (Source Package: k3b-18.08.3-1.1 from openSUSE-Tumbleweed-Oss) complains: "System locale charset is ANSI_X3.4-1968 Your system's locale charset (i.e. the charset used to encode filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this has been done intentionally. Most likely the locale is not set at all. An invalid setting will result in problems when creating data projects. Solution: To properly set the locale charset make sure the LC_* environment variables are set. Normally the distribution setup tools take care of this." It results in ripped media files that are unreadable by some programs (e.g. Amarok), probably due to incorrectly encoded filenames or tags. My system: Operating System: openSUSE Tumbleweed 20181203 KDE Plasma Version: 5.14.3 Qt Version: 5.11.2 KDE Frameworks Version: 5.52.0 Kernel Version: 4.19.5-1-default OS Type: 64-bit Processors: 8 × Intel® Core™ i7-4770 CPU @ 3.40GHz Memory: 15,6 GiB of RAM My actual LC_* environment variables:
set | grep "LC_" LC_CTYPE=en_GB.UTF-8 LC_MONETARY=en_NL.UTF-8 (.... lots of macro lines using these variables ....)
-- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870#c1
Wolfgang Bauer
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870#c2
Stephan van den Akker
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870#c3
--- Comment #3 from Wolfgang Bauer
The Dutch language error message on the first line of output of locale translates to: "Cannot set LC_ALL to default locale: File or directory does not exist"
And that's likely the reason for your problem, I think. I can reproduce that error message (and k3b's warning) with your plasma-locale-settings.sh. The offending line is this: export LC_MONETARY=en_NL.UTF-8 Is your filename problem fixed if you remove or comment out (i.e. put a '#' in front of it) that line with a text editor? You need to logout/login or reboot to "apply" the change. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870#c4
--- Comment #4 from Wolfgang Bauer
Is your filename problem fixed if you remove or comment out (i.e. put a '#' in front of it) that line with a text editor? You need to logout/login or reboot to "apply" the change.
PS: alternatively you could also change the "Currency" setting (e.g. to "No change") in systemsettings5->Regional Settings->Formats. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870#c5
--- Comment #5 from Stephan van den Akker
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870#c6
Wolfgang Bauer
This workaround indeed makes the error message of K3b and locale go away. And all the ripped files are now read by Amarok.
Good. It's not really a bug then (not in k3b anyway). The problem is that you configured en_NL (for Currency), but there is no locale with that name. (somebody tried to push it to glibc a while ago, but it was rejected: https://sourceware.org/bugzilla/show_bug.cgi?id=14085) Of course, Plasma's locale settings better should not offer you unavailable/not installed locales in the first place, but there's already bug#1015858 about that. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870
http://bugzilla.opensuse.org/show_bug.cgi?id=1118870#c7
--- Comment #7 from Stephan van den Akker
participants (1)
-
bugzilla_noreply@novell.com