8.8 Configuring NetStorage to Use the Proper Code Page or Character Set

NetStorage can be configured to use different languages and characters by changing the character set or code page on your Linux server. Character set or character map is the Linux equivalent of the code page in NetWare. The default character set for NetStorage is the same as the character set that root is configured to use. This character set is determined during the Virtual Office installation.

You can determine the character set that root is configured to use by entering locale charmap at the Linux server console. Character sets for different users are configured by setting the LC_* environment variables.

If the character set that root is configured to use is not the same as the one that NetStorage is configured to use, you must configure NetStorage to use a different character set. To do this, edit the /etc/opt/novell/xtier/xsrvd/envvars file and modify the XTIER_CODE_PAGE environment variable.

As a general rule, NetStorage should use the same code page as the servers hosting storage that NetStorage accesses. For example, if NetStorage is being used to access storage on NetWare servers that are configured to use the 437 code page, then you should set the XTIER_CODE_PAGE environment variable to 437.

You can determine which character sets are installed and available on your Linux server by entering iconv --list at the server console.

Character set names might not be exactly the same between NetWare and Linux servers. For example, the 1254 NetWare code page maps to the WINDOWS-1254 Linux character set.