歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> ubuntu 12.04下播放器亂碼問題的處理解決

ubuntu 12.04下播放器亂碼問題的處理解決

日期:2017/3/3 15:58:24   编辑:關於Linux

終端下輸入(用戶家目錄)

vim .profile

在文件的末尾處添加如下信息

export GST_ID3_TAG_ENCODING=GBK:UTF-8:GB18030

export GST_ID3V2_TAG_ENCODING=GBK:UTF-8:GB18030

使修改即時生效,在終端中輸入

source .profile

1 # ~/.profile: executed by the command interpreter for login shells.

2 # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login

3 # exists.

4 # see /usr/share/doc/bash/examples/startup-files for examples.

5 # the files are located in the bash-doc package.

6

7 # the default umask is set in /etc/profile; for setting the umask

8 # for ssh logins, install and configure the libpam-umask package.

9 #umask 022

10

URL:http://www.bianceng.cn/OS/Linux/201410/46040.htm

11 # if running bash

12 if [ -n "$BASH_VERSION" ]; then

13 # include .bashrc if it exists

14 if [ -f "$HOME/.bashrc" ]; then

15 . "$HOME/.bashrc"

16 fi

17 fi

18

19 # set PATH so it includes user's private bin if it exists

20 if [ -d "$HOME/bin" ] ; then

21 PATH="$HOME/bin:$PATH"

22 fi

23 export GST_ID3_TAG_ENCODING=GBK:UTF-8:GB18030

24 export GST_ID3V2_TAG_ENCODING=GBK:UTF-8:GB18030

~

Copyright © Linux教程網 All Rights Reserved