SSブログ

Amendment of character corruption of Rythmbox in Ubuntu [Computer]

Character corruption occurs in Rythmbox, which is the default music player in Ubuntu, when Chinese characters are included in the title or play list.
Here is how to correct the character corruption.
1) check where is the library file of Rythmbox.
For example, the file is "home/User ID/.local/share/rhythmbox/rhythmdb.xml" in Ubuntu 12.10.
2) Back up the original file.
Copy the file and rename to e.g. "rhythmbox.orig".
3) Create a script file which can change Sift JIS code to Unicode.
Create the blank file named "/bin/convert_rhythmdb.pl" by sudo & gedit.
The source code is available in the below link.
http://fedorakenken.at-ninja.jp/node39.html
4) run the script, using command line as below.
"sudo chmod +x /bin/convert_rhythmdb.pl"
"cd ~/.local/share/rhythmbox/"
"convert_rhythmdb.pl < rhythmdb.orig > rhythmdb.xml"

I use the two web pages by reference.
http://fedorakenken.at-ninja.jp/node39.html
http://dbweb.0258.net/wiki.cgi?page=Ubuntu%A4%CErhythmbox%A4%C7%B4%C1%BB%FA%CA%B8%BB%FA%B2%BD%A4%B1%C2%D0%B1%FE

rhythmbox.jpeg

nice!(0)  コメント(0)  トラックバック(0) 
共通テーマ:パソコン・インターネット

nice! 0

コメント 0

コメントを書く

お名前:
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。

トラックバック 0

The temporature of H..Ubuntu 64bit eats a .. ブログトップ

この広告は前回の更新から一定期間経過したブログに表示されています。更新すると自動で解除されます。