If this check box is selected, the database factor for multibyte string fields is active.
Parameters Multi Language Support (ttadv4106m000)Note
Multibyte If LN is installed in Native (multibyte/singlebyte) mode, you can specify the Multibyte Factor. Note Make sure that:
After running this session, you must take following steps:
In the Table Definitions (ttadv4120s000) session you can define table definitions. A table can contain fields of the multibyte string type. Each table field has a certain length. For multibyte string fields, the length specifies the number of positions on which the characters can be placed. Suppose the multibyte factor is one. You defined a field of the multibyte string type, with a length of 30. This means that if you want to enter 30 characters, every character must be only one byte. If you enter only characters of two bytes you can enter only 15 characters. You can enlarge the size of the multibyte strings with the multibyte factor. If you want to enter 30 characters of two bytes in the field of the previous situation, you must enlarge the multibyte factor to two. If you enter a character of one byte in that situation, this character will use two bytes. So, in this situation you can enter 30 characters of one byte or 30 characters of two bytes. If you enter a character of four bytes in the previous situation, it takes the place of two characters. So you shorten the length of the field. If in that situation you enter only characters of four bytes, you can enter a maximum of 15 characters. See the following examples:
Looking at the above mentioned examples you can say:
Bear in mind that when you enlarge the database factor the table takes more space. If you use only single byte characters, and you have specified a database factor of four and the length of a field is, for example, 30, the space that will be used is 120 bytes for 30 characters. In that situation you can better use a database factor of one. Then the same string will take only 30 bytes. Unicode In order to support all languages available for LN in one environment, you must install LN in Unicode mode. Unicode is the standard for multi-language support. It provides a unique code for each character regardless the language. If LN is installed in Unicode mode, the Multibyte Factor field is read-only and has a fixed value of 4.
Multi Byte If this check box is selected, the database factor for multibyte string fields is active. Unicode Indicates whether LN is installed in Unicode mode. Multibyte Factor The Multibyte Factor is used, during the conversion to runtime of the domains, to determine the internal length (CLEN) of a domain in case of multibyte strings. For Unicode enabled installations the Multibyte Factor has a fixed value of 4. Before storing the settings in the Multibyte Parameters (ttadv406) table, the Multibyte Factor is multiplied by the Factor zero width characters incremented by one: Multibyte Factor * (Factor zero width characters + 1) Example: with a Multibyte Factor of 4 for Unicode enabled installations and a Factor zero width characters of 0, the factor with which a multi byte string will be multiplied is: 4 * (0 + 1) = 4. Factor zero width characters This factor is used to determine the width on screen and on paper for zero width characters, such as Thai accents and other accents. It is used in Native (multibyte/singlebyte) mode and in Unicode mode as well. This field is always read-only and has a fixed value of 0. Multi Language Fields Support If this check box is selected, LN can store shared application data in multiple languages. Depending on the user’s software language, the application data can be displayed in the same language too. For details on the procedure to configure Multilanguage Fields Support, refer to Multilanguage application data (OP). Note: To support multilanguage fields, LN must be installed in Unicode mode.
| |||||||||||||||||||||||||||||||