Views: 4604
Last Modified: 10.10.2012

The page encoding is defined with use of the LANG_CHARSET constant, located in the site template header.

When template is applied the site, the system requests encoding defined in the site settings. The LANG_CHARSET constant is binded a value of the site encoding.

Below you can see the example of code used for defining the current site encoding:

<head>
…
<meta http-equiv="Content-Type" content="text/html; charset=<?echo LANG_CHARSET?>">
…
<head> 


Courses developed by Bitrix24