FAQ. Encoding problems: различия между версиями

Материал из WiKi - UserSide
(Новая страница: «en | ru»)
 
Нет описания правки
 
(не показаны 4 промежуточные версии этого же участника)
Строка 1: Строка 1:
[[FAQ._Encoding_problems|en]] | [[FAQ._Проблемы_с_кодировкой|ru]]
[[FAQ._Encoding_problems|en]] | [[FAQ._Проблемы_с_кодировкой|ru]]
'''How to convert the database to UTF-8?'''
The earlier versions of ERP "UserSide" had the database in 1251 format. The system currently runs on UTF-8. How to convert to UTF-8?
To do this:
1. In the ''"main/config/config.php"'' file, change the variable ''$zsqlcp'' to the value:
$zsqlcp  = 'utf8';
2. Make a backup of the database.
3. Convert the database to UTF-8. For example - as described in this article: http://artkiev.com/blog/mysql-cp1251-to-utf8.htm

Текущая версия от 18:37, 14 марта 2023

en | ru

How to convert the database to UTF-8?

The earlier versions of ERP "UserSide" had the database in 1251 format. The system currently runs on UTF-8. How to convert to UTF-8?

To do this:

1. In the "main/config/config.php" file, change the variable $zsqlcp to the value:

$zsqlcp   = 'utf8';

2. Make a backup of the database.

3. Convert the database to UTF-8. For example - as described in this article: http://artkiev.com/blog/mysql-cp1251-to-utf8.htm