Internationalization and localization tools


ANSI Environment and Command Line Argument Functions

 

Internationalization (I18n) Issue:

These functions do not have wide character counterparts, so conversion will have to be performed in a UTF-16 (or UTF-32) wide character application.

I18n Solution:

The envz and argz family of functions manipulate environment and command line data which are arrays of char* character strings.

In a wide character UTF-16 (or UTF-32) application, these strings will have to be converted from UTF-8 char* multibyte strings to wchar_t* wide character strings when extracting data from the string arrays.

Similarly, wide character strings will have to be converted from wchar_t* wide character strings to UTF-8 char* multibyte strings when adding data to the string arrays.

See Multibyte and Wide Character Conversion Functions for more information on converting between UTF-8 multibyte and UTF-16 or UTF-32 wide character data. More conversion information can also be found at Restartable Multibyte Conversion Functions.

Click on a function for more information:

argz_add

argz_add_sep

argz_append

argz_count

argz_create

argz_create_sep

argz_delete

argz_extract

argz_insert

argz_next

argz_replace

argz_stringify

envz_add

envz_entry

envz_get

envz_merge

envz_strip

 

 Locale-Sensitive C++ Methods

 

Lingoport internationalization and localization services and software