Using Server with Far Eastern Languages

You should read this section if you want your system to support Far Eastern languages, such as Japanese, Korean, or Chinese. Far Eastern languages are multibyte character languages. Such languages present certain distinctive characteristics that should be taken into account when using Server.

Although the API remains unchanged, you should keep in mind that an IlsString or char* value can contain multibyte characters in a Far Eastern locale.

For example, you can pass a multibyte string to:

void IlsLogfile::SetMsgPrefix(const IlsString&);

and get a multibyte string as the return value of the following:

IlsString IlsLogfile::GetMsgPrefix();

This is true for all the Server classes that manipulate char*, const char* or IlsString values.

It is recommended that you use the IlsString class API to manipulate single- or multibyte strings. This class provides member functions that allow you to index and test characters correctly regardless of whether they are single- or multibyte strings. See the Server Reference Manual for details.