Common Desktop Environment: Internationalization Programmer's Guide

String Literals

The following shows examples of literal strings. The cur_charset value is always set to the default_charset value, which allows the string literal to contain locale text.

To set locale text in the string literal with the default_charset value, enter the following:

XmNlabelString = 'XXXXXX';

OR

XmNlabelString = #default_charset"XXXXXX";

Compile the UIL file with the LANG environment variable matching the encoding of the locale text. Otherwise, the string literal is not compiled properly.