ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

Charsets

Summary

Matches a charset to a group.

Usage

 

Charsets[<group ID>]=<charset>;<group>

Description

This setting maps a charset to a group. The group identifier can be used to load certain extra transformation files when that charset is used.
Each entry consists of the following syntax:

Charsets[<group ID>]=<charset>;<group>


As explained in the setting File in block [Transformation], the process of selecting the proper files to use by the system starts with the system checking the Charset setting. This first step is best described through an example.
Let's say that the current eZ Publish installation uses the "utf-8" charset. The first step the system will take, is to check the Charset setting. This setting consists of two parts, the charset and the group it maps to, separated with a semicolon. If the first part matches the current charset, the second part is added to the list of blocks that will be used.
So if we for example have the following Charsets settings:

[Transformation]
 
Charsets[]=cp437;latin
Charsets[]=utf-8;latin
Charsets[]=utf-8;cyrillic
Charsets[]=cp437;greek
Charsets[]=windows-1255;hebrew
Charsets[]=utf-8;hebrew


Then the system would find three matches for the "utf-8" charset, the groups latin, cyrillic and hebrew. Next the system will search for the transformation files in the corresponding blocks [latin], [cyrillic], [hebrew].

Examples

Charsets[]=koi8;cyrillic
Charsets[]=koi8-r;cyrillic
Charsets[]=koi8-u;cyrillic
Charsets[]=iso-8859-5;cyrillic
Charsets[]=cp932;cyrillic
Charsets[]=cp866;cyrillic
Charsets[]=cp855;cyrillic
Charsets[]=windows-1251;cyrillic
Charsets[]=utf-8;cyrillic

These are the default settings for the cyrrilic group.

Ester Heylen (22/06/2010 11:36 am)

Ester Heylen (22/06/2010 12:46 pm)


Comments

There are no comments.