Internationalization and localization tools


Windows Generic String Format Functions

Related Links

Link to Single and Multi Byte Formatting Functions.
Link to Wide String Formatting Functions.

Link to String Formatting in C and C++.

Internationalization (I18n) Issue:

These functions are the Generic versions of the Single and Multi Byte and Wide Character string format functions. To operate correctly, generic arguments and return values should be used.

I18n Solution:

Use the appropriate equivalent Windows Generic format function when reengineering an application for internationalization.

I18n Discussion:

See String Formatting in C and C++ for complete details on all issues regarding formatting strings.

When a Generic function call is used, the _MBCS or _UNICODE compiler switch determines whether to map to the multibyte or wide version of the function. For example, _ftprintf will map to fprintf if the _MBCS compiler switch is defined, and to fwprintf if the _UNICODE switch is defined.

The arguments and return values for these functions are also Generic and dependent on the _MBCS/_UNICODE switch for their mapping to either narrow or wide-character data.

See the MSDN Library's Using Generic Text Mappings for more information.

Click on a function for more information:

_ftprintf

_ftscanf

_sctprintf

_sntprintf

_sntscanf

_sntscanf_l

_stprintf

_stscanf

_tcprintf

_tcscanf

_tprintf

_tscanf

_vftprintf

_vsctprintf

_vsntprintf

_vstprintf

_vtprintf

 

 Locale-Sensitive C++ Methods

 

Lingoport internationalization and localization services and software