在使用 discuz 的过程中,因为有很多的插件和模板,所以我们总是热衷于安装各种应用。但是有时候因为系统编码的问题可能会出现插件及模板可能会出现不兼容或者乱码的问题。

那么这个时候有两种选择,一种就是卸载掉应用,另一个就是自行转码。通常一个好的模板插件我们是舍不得卸载的,那么这里就说下我们工作室常用的转码工具软件和使用方法:

[button link=”http://pan.baidu.com/s/1ntyrnD3″ color=”default” size=”” stretch=”” type=”” shape=”” target=”_blank” title=”” gradient_colors=”|” gradient_hover_colors=”|” accent_color=”” accent_hover_color=”” bevel_color=”” border_width=”” icon=”fa-download” icon_position=”left” icon_divider=”no” modal=”” animation_type=”0″ animation_direction=”left” animation_speed=”1″ animation_offset=”” alignment=”” class=”” id=””] 下载转码软件 [/button]

 

1. 下载专用的工具软件并打开;

gbk-to-utf8-1

2. 选择需要转码的模板文件夹;

gbk-to-utf8-2

3. 选择存储新的模板文件夹;

gbk-to-utf8-3

4. 点击转换即可完成。

gbk-to-utf8-4

另外需要注意的就是,这里只是说了 GBK 、 UTF8 互转的方法。如果你是繁体用户,那么可以使用我们工具包内的另一个【简繁模板编码转换工具.exe】操作步骤基本差不多,这里就不在过多叙述。