昨天刚开始接触帝国CMS,对于用帝国CMS来建站还是比较陌生的。可以说是问题一大堆,搞得自己很头痛,官方也有不少的教程,还得慢慢看。以后自己看熟了再整理一下心得吧。
官网已有导入模板的教程,我这里就不说它的具体步骤了,我重点想说的是导入模板时应注意编码的问题,用过帝国CMS的朋友都知道帝国CMS提供了gbk版和utf-8版两种安装包,尤其是使用utf-8版安装包的更应注意编码的问题,因为很多模板的编码都是采用gb2312(适用于gbk版安装包),安装包的编码跟模板的编码不统一就会出现乱码的情况。
我们下载了模板后,主要是看两个编码,一个是文件的编码,另一个是文件代码设置的页面编码。我们打开.temp文件(这个就是需要导入的模板文件),然后另存为,我们就可以看到文件的编码(如下图),如果跟你安装包的编码不统一,那就需要改成你安装包的编码来。(gb2312适用于gbk版安装包)

另一个看文件代码设置的页面编码,假设设置的页面编码是gb2312;也就是代码是这样的<meta http-equiv="Content-type:text/html;charset=gb2312" /> 而我们使用的是utf-8版安装包,那就需要把那个gb2312替换成utf-8来,注意要全部替换,使用查找-替换全部,很快就可以搞定。
这只是一个很小的问题,希望能帮到遇到同样问题的朋友吧,我就被这个问题折腾了半天。
« 上一篇:完美程序 php乱码问题的解决方案:下一篇 »

发表于 2012年02月5日 12:04 下午
An interesting discussion is worth statement. I believe that you should create more on this matter, it mightiness not be a inhibition case but generally people are not enough to talk on much topics. To the next. Cheers like your å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡.
[回复]
发表于 2012年02月5日 12:17 下午
It is extremely comforting to read that blog and realise that I am not alone nor am I some form of deranged sociopath.
[回复]
发表于 2012年02月5日 12:55 下午
An stimulating communication is couturier statement. I cerebrate that you should correspond writer on this message, it strength not be a taboo subject but mostly grouping are not enough to mouth on such topics. To the next. Cheers like your å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡.
[回复]
发表于 2012年02月5日 1:37 下午
What hobbies really are included in the system? A great many comprehensive grown-up holiday break may be a huge region.
[回复]
发表于 2012年02月5日 2:45 下午
An gripping communicating is couturier statement. I believe that you should indite statesman on this theme, it strength not be a sacred substance but mostly grouping are not enough to verbalize on such topics. To the next. Cheers like your å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡.
[回复]
发表于 2012年02月5日 2:53 下午
Hey There. I found your blog using msn. This is a really well written article. I'll make sure to bookmark it and return to read more of å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡ . Thanks for the post. I will definitely comeback.
[回复]
发表于 2012年02月5日 3:35 下午
Effortlessly while, a few specialists and additionally organisations system better than many others.
[回复]
发表于 2012年02月5日 3:43 下午
An absorbing word is couturier notice. I cogitate that you should make many on this issue, it mightiness not be a inhibition issue but generally people are not enough to verbalize on such topics. To the next. Cheers like your å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡.
[回复]
发表于 2012年02月5日 4:47 下午
An interesting language is designer observe. I think that you should correspond author on this subject, it strength not be a prejudice field but mostly people are not sufficiency to speak on specified topics. To the next. Cheers like your å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡.
[回复]
发表于 2012年02月5日 4:56 下午
Thank you for showing your ideas. As a writer, I'm always on the lookout for fresh and different solutions to look at a issue. I actually uncover fantastic motivation in doing so. Many thanks once again
[回复]
发表于 2012年02月5日 5:11 下午
An engrossing discussion is couturier statement. I imagine that you should compose statesman on this substance, it might not be a preconception study but generally fill are not sufficiency to communicate on much topics. To the next. Cheers like your å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡.
[回复]
发表于 2012年02月5日 5:25 下午
Lovely just what I was looking for.
[回复]
发表于 2012年02月5日 8:51 下午
Hey There. I found your blog using msn. This is a very well written article. I'll be sure to bookmark it and return to read more of å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡ . Thanks for the post. I'll definitely return.
[回复]
发表于 2012年02月5日 8:51 下午
Hello There. I found your blog using msn. This is a very well written article. I will be sure to bookmark it and come back to read more of å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡ . Thanks for the post. I will definitely comeback.
[回复]
发表于 2012年02月5日 10:54 下午
I actually wanted to write a simple remark so as to say thanks to you for those awesome facts you are showing here. My prolonged internet research has now been recognized with reasonable facts and techniques to exchange with my family and friends. I would mention that many of us readers are unquestionably lucky to exist in a very good community with very many lovely individuals with helpful principles. I feel pretty privileged to have seen your entire web page and look forward to tons of more pleasurable times reading here. Thanks a lot once again for a lot of things.
[回复]
发表于 2012年02月5日 11:06 下午
This is the proper å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡ blog for anyone who wants to seek out out some this content. You observe so often its virtually wearying to argue with you (not that I rattling would want…HaHa). You definitely put a new acrobatics on a content thats been longhand nigh for age. Discriminating meaninglessness, only outstanding!
[回复]
发表于 2012年02月5日 11:46 下午
å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡ I was suggested this blog by my cousin. I'm not sure whether this post is written by him as nobody else know such detailed about my trouble. You're wonderful! Thanks! your article about å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡Best Regards Rolf
[回复]
发表于 2012年02月5日 11:49 下午
å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡ I was recommended this blog by my cousin. I'm not sure whether this post is written by him as no one else know such detailed about my difficulty. You're wonderful! Thanks! your article about å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡Best Regards Rolf
[回复]
发表于 2012年02月5日 11:54 下午
å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡ I was recommended this web site by my cousin. I'm not sure whether this post is written by him as nobody else know such detailed about my difficulty. You are incredible! Thanks! your article about å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡Best Regards Cindy
[回复]
发表于 2012年02月6日 12:37 上午
å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡ I was recommended this blog by my cousin. I'm not sure whether this post is written by him as nobody else know such detailed about my problem. You're amazing! Thanks! your article about å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡Best Regards Lawrence
[回复]
发表于 2012年02月6日 12:38 上午
å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡ I was suggested this blog by my cousin. I'm not sure whether this post is written by him as no one else know such detailed about my problem. You are incredible! Thanks! your article about å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡Best Regards Yoder
[回复]
发表于 2012年02月6日 2:57 上午
Heya just wanted to give you a brief heads up and let you know some with the pictures aren’t loading properly. I’m not positive why but I think its a linking issue. I’ve tried it in two different internet browsers and both show the same results.
[回复]
发表于 2012年02月6日 3:07 上午
I got what you intend, thank you for posting. Woh I am lucky to find this website through google.
[回复]
发表于 2012年02月6日 4:07 上午
This is sensible information! Where else will if ind out much more?? Who runs this joint too? sustain the good work
[回复]
发表于 2012年02月6日 4:15 上午
Person of legal age products occasionally need different features plus recreation for the reason that individuals on family members along with all round travel packages.
[回复]
发表于 2012年02月6日 5:04 上午
I have gone ahead and included a link back to your website from one of my clients requesting it. I've used your web page URL: http://www.googlephp.cn/archives/252 and blog title: å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡ to insure you get the correct anchor text. If you woud like to check out where your link has been placed, please e-mail me at: Pulgarin351@yahoo.com. Many thanks
[回复]
发表于 2012年02月6日 5:05 上午
F*ckin' awesome things here. I'm very satisfied to look your post. Thanks so much and i am having a look forward to touch you. Will you please drop me a mail?
[回复]
发表于 2012年02月6日 5:18 上午
I've been surfing online greater than three hours lately, yet I by no means discovered any interesting article like yours. It's beautiful price enough for me. In my opinion, if all website owners and bloggers made just right content as you probably did, the internet will be much more helpful than ever before.
[回复]
发表于 2012年02月6日 5:33 上午
I likewise think so, perfectly pent post!
[回复]
发表于 2012年02月6日 5:37 上午
I gotta admit, you're pretty bold for posting this.
[回复]
发表于 2012年02月6日 5:51 上午
In accordance with my research, after a foreclosed home is available at an auction, it is common for your borrower in order to still have the remaining unpaid debt on the bank loan. There are many creditors who make an effort to have all expenses and liens paid by the next buyer. Having said that, depending on certain programs, legislation, and state regulations there may be quite a few loans which aren't easily fixed through the transfer of lending products. Therefore, the duty still remains on the lender that has got his or her property foreclosed on. Many thanks for sharing your notions on this blog.
[回复]
发表于 2012年02月6日 6:02 上午
I was very happy to search out this internet-site.I needed to thanks on your time for this excellent read!! I definitely having fun with each little little bit of it and I've you bookmarked to check out new stuff you weblog post.
[回复]
发表于 2012年02月6日 6:10 上午
Hi, Wonderful job! I saw this really great post today.
[回复]
发表于 2012年02月6日 6:11 上午
An riveting discourse is worth report. I suppose that you should correspond author on this content, it mightiness not be a prejudice master but mostly group are not sufficiency to talk on specified topics. To the succeeding. Cheers like your å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡.
[回复]
发表于 2012年02月6日 6:11 上午
An newsworthy language is designer account. I expect that you should compose much on this subject, it strength not be a bias refer but generally group are not enough to communicate on specified topics. To the next. Cheers like your å¸å›½CMS导入模æ¿çš„æ•™ç¨‹ï¼ˆæ³¨æ„ç¼–ç ) | 陈勇文的åšå®¢-专注于php+mysql程åºè®¾è®¡.
[回复]