Internationalization and localization tools


Windows Generic File and Path Functions

Internationalization (I18n) Issue:

These functions are the Generic versions of the single-byte/multibyte and wide character string file and path functions. To operate correctly, generic arguments and return values should be used.

I18n Solution:

Use the appropriate equivalent Windows Generic file and path function when reengineering an application for internationalization.

I18n Discussion:

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, _taccess will map to _access if the _MBCS compiler switch is defined, and to _waccess 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:

_taccess

_tchdir

_tchmod

_tcreat

_tfdopen

_tfindfirst/_tfindfirst64/_tfindfirsti64

_tfindnext/_tfindnext64/_tfindnexti64

_tfopen

_tfreopen

_tfsopen

_tfullpath

_tgetcwd

_tgetdcwd

_tmakepath

_tmkdir

_tmktemp

_topen

_tpopen

_tremove

_trename

_trmdir

_tsearchenv

_tsopen

_tsplitpath

_tstat

_tstat64

_tstati64

_ttempnam

_ttmpnam

_tunlink

_tutime

_tutime64

 

 Locale-Sensitive C++ Methods

 

Lingoport internationalization and localization services and software