| Parameters Multi Language Support (ttadv4106m000) |  |
| use.session.to adjust the database factor (Multibyte Factor) for multibyte string fields. Refer to Multibyte for details. display the Unicode indicator. Refer to Unicode for details. display an additional factor for zero width characters. enable support for Multilanguage Fields. Note 1 You cannot use this session to switch from Native (multibyte/singlebyte) mode to Unicode mode. For details on the conversion to Unicode, refer to the Infor Enterprise Server 8.4 - Conversion Guide Database to Unicode (U8887 US). Note 2 Before storing the settings in the Multibyte Parameters (ttadv406) table, the session corrects the Multibyte Factor with the Factor zero width characters. Refer to the field help for details. Multibyte If ERP LN is installed in Native (multibyte/singlebyte) mode, you can specify the Multibyte Factor. Important! Make sure that: you are the only user on the system. no running database drivers are present on the system when you start the bshell. do not run any Infor ERP application before starting this session. After running this session, you must take following steps: log off. stop the printer daemon. database drivers must be stopped run: bw.exe ttadv4206m000. start the printer daemon again. 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:
Multibyte Factor: | 1
field length: | 20
You can enter: | 20 single byte characters
| 10 characters of 2 bytes
| 6 characters of 3 bytes
| 5 characters of 4 bytes
you can also enter: | 10 single byte characters + 5 characters of 2 bytes (total 15 characters)
Multibyte Factor: | 2
field length: | 30
You can enter: | 30 single byte characters
| 30 characters of 2 bytes
| 20 characters of 3 bytes
| 15 characters of 4 bytes
you can also enter: | 15 characters of 2 bytes + 10 characters of 3 bytes (total 25 characters)
Looking at the above mentioned examples you can say: The space which will be reserved for characters on a multibyte field is: `Multibyte Factor * length` You cannot enter more characters than specified in the length of the field. So, if the Multibyte Factor is 2 and the length of the field is 30, you cannot enter 60 single byte characters. 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 ERP LN in one environment, you must install ERP LN in Unicode mode. Unicode is the standard for multi-language support. It provides a unique code for each character regardless the language. If ERP LN is installed in Unicode mode, the Multibyte Factor field is read-only and has a fixed value of 4. Related topics To use an overview session To maintain records in an overview session
Fields | Description
Multi Byte | If this check box is selected, the database factor for multibyte string fields is active.
Unicode | Indicates whether ERP 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.
Multilanguage Fields Support | If this check box is selected, ERP 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. Note: To support multilanguage fields, ERP LN must be installed in Unicode mode.