Views: 432 (Data available since 06.02.2017)
Last Modified: 29.05.2014

In order to display national characters correctly, the appropriate encodings are used. When showing a page, the browser recognizes the encoding used and displays the characters accordingly.

The list of code tables used to display the characters of the Russian, English, and German languages is provided below:

LanguageEncoding
Russian (ru)windows-1251, koi8-r, iso-8859-5
English (en)windows-1252, iso-8859-1, latin1
German (de)windows-1252, iso-8859-1, latin1

The complete list of encodings used for different languages is provided in the product documentation.

Note: Starting from version 7.0 the product (for MySql and Oracle database) supports a universal UTF-8 encoding. Using this encoding, the site contents may be simultaneously displayed in different languages.
If UTF-8 is not used but the system requires a combination of various languages, a code table must be determined for each language that will be used to display text messages.

Attention! Page encoding and database table encoding must be the same.


Encoding shall be set separately for the administrative and public sections:

  • The encoding used in the public section shall be set up for each site (Control Panel > Settings > System settings > Websites > Websites):

    The encoding is set based on the language used on the site. In addition, when setting the language parameters, the time and data format can be set, which will permit you to display these data in the public section correctly (for example, during display of news, catalog of goods, etc.).

  • The encoding for the administrative section of the site is set up using the form of language parameters used in the system (Control Panel > Settings > System settings > Language Parameters > Regional Options and Culture).

    In addition, the time and data format may be determined when setting the language parameters.

    The indicated format will be used for the display of the date and time in the administrative section of the site.



Courses developed by «Bitrix», Inc.