Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem of garbled code through common.inc.php

Shulou Source: shulou.com Published: 2022-06-03 10:39:42 10月03日 Update

How to solve the garbled code problem through common.inc.php, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

Methods to solve garbled code through common.inc.php: 1, open the common.inc.php file; 2, modify the content as "$cfg_soft_lang = 'utf-8';"; 3, transcode select_images.php.

This article operating environment: Windows7 system, DedeCMS5.6, Dell G3 computer.

How to solve the garbled problem through common.inc.php?

Website upgrade leads to garbled codes and solutions:

1. Find the: / include/common.inc.php file of the dream weaving system

two。 Find the following code:

$cfg_version = 'V57 GBKs / cfgbeans softplaces Lang =' gb2312'

Modified to:

$cfg_version = 'V57 UTF Murray 8 years; $cfg_soft_lang =' utf-8'

3. Transcode the following two files:

Include/common.inc.phpinclude/dialog/select_images.php

Change to utf-8 coding format, or click to download the corresponding upgrade package, and overwrite the corresponding file of utf-8!

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Garbled file problem content method system utf-8 upgrade help clear two code for this article novice more format environment computer knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Linux Microsoft macOS Docker