HP 9000 User Manual page 141

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

8
#include <nl_types.h>
char *lopts;
lopts
=
getenv(ILANGOPTS");
/* lim_oil m
=
mode,
0
=
order */
fscanf( ... , src, ... );
/* read in current mode/order */
if ( lopts[2]
==
'k' )
/* if order is keyboard order */
strord(dst, src, lopts[O]);
/* re-order before write */
fprintf( ... , dst, ... );
/* write data */
For an extended example of right-to-left processing, see Appendix B, "Example
of Internationalized Software", in this manual.
Locale Information
Locale information is available in various ways. The locale and nlsinfo
command provides selected portions of information for a specified locale.
Information is displayed in tabular form convenient for reference. The
localedef command -d option provides all information for a specified locale.
This information is displayed in localedef input format and may be used to
define a new locale.
You can use the locale command to display information about the current
locale or about available locales. Here are some examples that illustrate the use
of locale. LANG was set to french for all examples.
8·8 Advanced NLS Topics

Advertisement

Table of Contents
loading

Table of Contents