[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emms-help] emms-cache-file coding system issue
From: |
William Xu |
Subject: |
[emms-help] emms-cache-file coding system issue |
Date: |
Tue, 01 Aug 2006 01:33:49 +0800 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Hi folks,
When enabling emms-cache module, i found my playlist buffer began to
display many garbages. After hunting for some time, i find it's caused
by the inconsistency between emms-info-mp3info-coding-system(it's 'gbk
here) and emms-cache-file-coding-system(the original value is 'utf-8, i
added this new variable in last patch). I can't simply set
emms-cache-file-coding-system to be same as
emms-info-mp3info-coding-system, since my file names are using utf-8
charset(which is also part of track structure, besides mp3info), a big
of mess...
Hence, seems i'm forced to do charset conversion if i want to use
emms-cache module. For a trivial solution, I wrap around `iconv' to do
conversions when emms-info-mp3info-coding-system is different from
emms-cache-file-coding-system. Things seem to be fine again.
What do you think?
--
William
《送友人》
作者:李白
青山横北郭,白水绕东城。
此地一为别,孤蓬万里征。
浮云游子意,落日故人情。
挥手自兹去,萧萧班马鸣。
- [emms-help] emms-cache-file coding system issue,
William Xu <=