修改Ubuntu本地编码,让你的播放器正常显示标题 - XiZi's Blog

修改Ubuntu本地编码,让你的播放器正常显示标题

Xizi posted @ 2009年8月08日 01:48 in Ubuntu with tags ubuntu 标题,乱码,解决 , 3308 阅读

Ubuntu默认安装的环境为zh_CN.utf8或者en_US.utf8,然而很多windows的文档还是以GB2312或GBK编码保存的,当你打开Window文件的时候,总是有各种问题,出现各种诡异的乱码。因此十分有必要在Ubuntu下生成GBK或GB2312的locale。并设置默认本地编码:

1.  修改/var/lib/locales/supported.d/local文件,在文件中添加如下代码:

    zh_CN.GBK GBK

    en_US.GBK GBK

    zh_CN.GB2312 GB2312

    en_US.GB2312 GB2312

 

2.  sudo dpkg-reconfigure --force locales

          然后在输出的结果中会出现

          zh_CN.GB2312 done

          zh_CN.GBK done

    en_US.GBK done

    en_US.GB2312 done

3. 修改默认配置文件 /etc/default/locale

         修改默认LANG="en_US.UTF8"为

         LANG="en_US.GBK"

        或者

        LANG="zh_CN.GBK"

4.   重启Gmone

 

sudo /etc/init.d/gdm restart
# 如果没启动那么 Ctrl+Alt+F1 登录进入命令行模式
sudo /etc/init.d/gdm start

 

 

Avatar_small
Harry 说:
2021年8月30日 21:28
  1. Good article but it would be better if in the future you can share more on this topic. Still post mulberry silk bedding
  2.  
Avatar_small
free helium hotspot 说:
2021年9月06日 05:46

A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post.

Avatar_small
สล็อตฟรีเครดิต 说:
2021年9月07日 03:34

Kudos to your place together with terrific hints.. quite possibly That i at the same time are convinced labor is certainly a very powerful aspect of becoming results.

Avatar_small
sexual orientation t 说:
2021年9月10日 23:35

I’m impressed aided by the surpassing not to mention preachy advertising for which you embellish in such bit timing.

Avatar_small
quincy mortgage 说:
2021年9月12日 00:29

Fine Posting, We're an important believer around writing commentary for web pages so that you can allow the site freelancers realise that they’ve increased a little something valuable so that you can the ether!

Avatar_small
fishing charter pens 说:
2021年9月14日 00:26

Document thrilled along with the researching you will designed to makes precise put up impressive. Delightful adventure!

Avatar_small
ytmp3 conveter 说:
2021年9月21日 03:21

I admire this article for the well-researched content and excellent wording.I got so involved in this material that I couldn’t stop reading.I am impressed with your work and skill.Thank you so much.

Avatar_small
upload reels from pc 说:
2021年9月29日 01:02

Thank you so much for sharing this great blog.Very inspiring and helpful too.Hope you continue to share more of your ideas.I will definitely love to read.

Avatar_small
yoga classes christc 说:
2021年10月01日 20:50

Hey thanks for the blog. Really looking forward to read more. Really Cool.

Avatar_small
find more informatio 说:
2021年10月06日 03:36

Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks

Avatar_small
Harry 说:
2021年10月09日 00:10

I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. judi qiu qiu online

Avatar_small
สล็อตpg 说:
2021年10月09日 23:55

Regards for the purpose of post this amazing piece of writing! I recently came across yuor web blog perfect for your preferences. It includes marvelous not to mention advantageous items. Cultivate monetary management give good results!

Avatar_small
Harry 说:
2021年10月19日 00:29

Excellent content, the country's an exceedingly cold web page you've got right, preserve acknowledge that there are succeed, would be lower back. best breakfast Dubai

Avatar_small
Harry 说:
2021年12月30日 03:17

I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks.. 바카라사이트

Avatar_small
demo slot pragmatic 说:
2022年1月30日 19:51

Thank you for your article. Thanks Again. Great.

Avatar_small
Harry 说:
2022年1月31日 02:40

Really appreciate you sharing this blog post. Thanks Again. Fantastic. qiu qiu online terpercaya

Avatar_small
DewaQQ 说:
2022年4月17日 09:25

Wow awesome blog. Thanks Again. Really Great.

Avatar_small
seoanalyzeronline 说:
2022年5月22日 11:20

A round of applause for your post. Much thanks again. Will read on...

Avatar_small
royalgreen 说:
2022年5月30日 10:07

Thanks for the blog article. Really looking forward to read more. Cool.

Avatar_small
Kampus Profetik 说:
2022年8月18日 23:49

Saya baru saja tiba di situs yang luar biasa ini belum lama ini. Saya benar-benar ditangkap dengan sumber daya yang Anda dapatkan di sini. Acungan jempol untuk membuat halaman blog yang luar biasa!

Avatar_small
dark web/deep web/d 说:
2022年8月21日 00:57

If you're not careful, you can fall victim to these scams and wind up wasting your time and even money. dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月21日 01:51

Look for reputable, verified sites that offer a money back guarantee. That way, if you don't get your money's worth, you can get your money back without losing any time at all.  deep web

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:15

Linking is just another way of saying that if you write or have some information on a particular website and if you have a link to that website, then you can help bring people to the website. dark web sites

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:36

In fact, if you look at the statistics of those who have been successful in making money through links, then you would probably notice that most of them did it using manual methods.  dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:54

There are many scam artists on the Internet today who are only interested in stealing your money. It is therefore essential that you do a thorough research and look around before signing up with any particular company or individual. dark web

Avatar_small
dark web/deep web/d 说:
2022年8月21日 03:14

After you determine which companies you would like to promote, check into the affiliate program itself. There are a couple of ways to do this.  work from home jobs

Avatar_small
dark web/deep web/d 说:
2022年8月21日 03:29

It is best if the information provided on your site relates to the product or service you are promoting. If you provide information that is irrelevant to the product you are promoting, the odds are good that you will not have many visitors to your site.  affiliate marketing success

Avatar_small
cuannn 说:
2022年9月04日 08:08

Kunjungi situs menjamin cuan terbaik bandar cuan777


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee