Mpd has wrong filesystem charset coding default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mpd (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I was puzzled when several mp3 files that I have did not play on my system. Clicking them caused either
no response or caused an other song to start (when playlist shuffling was enabled).
I eventually found out that this was due to the use of special characters in the filenames of some of my
music files, such as ö and é, etc... These are stored in UTF-8 on the (ubuntu default) ext3 filesystem.
Setting the filesystem_charset in /etc/mpd.conf to "UTF-8" (and re-creating the mpd database afterwards)
solved the problem for me.
The reason I am reporting this problem is that I do not understand why the default filesystem encoding
in mpd.conf is set to "ISO-8859-1" on ubuntu, while the most common filesystem used when installing
ubuntu: ext3 (and possibly other filesystems too) encode their filenames in UTF-8 ....
I suggest that the ubuntu mpd package sets filesystem_charset to "UTF-8" by default _OR_ the installation
script can detect the filesystem coding of the root (/) filesystem. Although I have no idea how this could be
realized other than by expanding the entries in /etc/fstab (i.e. expanding 'defaults' to iocharset='utf-8' or
somesuch).
For completeness the version numbers:
Using: Ubuntu 7.04 (Feisty Fawn)
Mpd: 0.12.2
Ubuntu Package Information: Maintainer: Decklin Foster <email address hidden>
=================
Package: mpd
Priority: optional
Section: universe/sound
Installed-Size: 432
Maintainer: Ubuntu MOTU Developers <email address hidden>
Original-
Architecture: amd64
Version: 0.12.2-2ubuntu2