修改Ubuntu本地编码,让你的播放器正常显示标题 - XiZi's Blog
修改Ubuntu本地编码,让你的播放器正常显示标题
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
# 如果没启动那么 Ctrl+Alt+F1 登录进入命令行模式
sudo /etc/init.d/gdm start
2021年8月30日 21:28
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.
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.
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.
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!
2021年9月14日 00:26
Document thrilled along with the researching you will designed to makes precise put up impressive. Delightful adventure!
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.
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.
2021年10月01日 20:50
Hey thanks for the blog. Really looking forward to read more. Really Cool.
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
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
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!
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
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.. 바카라사이트
2022年1月30日 19:51
Thank you for your article. Thanks Again. Great.
2022年1月31日 02:40
Really appreciate you sharing this blog post. Thanks Again. Fantastic. qiu qiu online terpercaya
2022年4月17日 09:25
Wow awesome blog. Thanks Again. Really Great.
2022年5月22日 11:20
A round of applause for your post. Much thanks again. Will read on...
2022年5月30日 10:07
Thanks for the blog article. Really looking forward to read more. Cool.
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!
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
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
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
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
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
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
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
2022年9月04日 08:08
Kunjungi situs menjamin cuan terbaik bandar cuan777