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
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
コメント 0