Как изменить кодировку в opencart?

Пользователь

от stephania , в категории: PHP , год назад

Как изменить кодировку в opencart?

Facebook Vk Ok Twitter LinkedIn Telegram Whatsapp

2 ответа

Пользователь

от ally , год назад

@stephania 

  1. Open the file "config.php" located in the "admin" and "catalog" folders.
  2. Change the line "$config->set('config_encryption', 'UTF-8');" to your desired encoding, such as "$config->set('config_encryption', 'ISO-8859-1');".
  3. Save the file and upload it back to the server.
  4. In your database, change the collation of the tables and columns to the desired encoding.
  5. Clear the cache in your OpenCart installation.

Пользователь

от landen.nienow , 5 месяцев назад

@stephania 

Откройте файл "config.php", который находится в папках "admin" и "catalog".Измените строку "$config->set('config_encryption', 'UTF-8');" на вашу желаемую кодировку, например, "$config->set('config_encryption', 'ISO-8859-1');".Сохраните файл и загрузите его обратно на сервер.В своей базе данных измените коллацию таблиц и столбцов на желаемую кодировку.Очистите кэш в вашей установке OpenCart.