VorteX24 wrote:All Files on my Filesystem are encoded in Unicode.
I didnt find an option to make kplaylist recognize that, so in the directory browser, filenames are displayed as iso.
Like:
Till Brönner
instead of
Till Brönner
Or russian Filenames
КОМП
Changing the encoding in the browser doesnt change this behaviour.
I would really like to have that issue changed, can anyone help me with this?
The good news is that this can probably be fixed in one single place quite easily. The bad news is that it's just probably.
Anyway, find this function:
- Code: Select all
file_parse($f2, $link, $class, $str = FILETEMPLATE)
Under this function you should have the following line:
- Code: Select all
case 'f': $add = checkchs($f2->fname); break;
Change it to:
- Code: Select all
case 'f': $add = checkchs(utf8_decode($f2->fname)); break;
Of course, your PHP must support UTF8. (It's inbuilt, so it should work.)