Views: 8863
Last Modified: 30.05.2014
The current encoding used in the public section of the site is determined using the php constant LANG_CHARSET
substituted to the site template header area.
When applying a template to the site, the value of encoding parameter set in the site settings is requested. The constant LANG_CHARSET
is given a value equal to the value of the encoding parameter.
Example of the code used to establish page encoding is provided below:
< head >
…
< meta http-equiv="Content-Type" content="text/html; charset=< ?echo LANG_CHARSET? >" >
…
< head >