Windows Generic Character Manipulation Functions
Internationalization (I18n) Issue:
These functions are the Generic versions of the single-byte,
wide, and multibyte
character manipulation functions. To operate correctly, generic arguments and return values should be used.
I18n Solution:
Use the appropriate equivalent Windows Generic character manipulation 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, _gettchar will map to getchar if the
_MBCS compiler switch is defined, and to getwchar 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:
_cgetts
_cputts
_fgettc
_fgettchar
_fgetts
_fputtc
_fputtchar
_fputts
_gettc
_gettch
_gettchar
_gettche
_getts
_i64tot
_istalnum
_istalpha
_istascii
_istcntrl
_istdigit
_istgraph
_istlead
_istleadbyte
_istlegal
_istlower
_istprint
_istpunct
_istspace
_istupper
_istxdigit
_itot
_itot_s
_ltot
_ltot_s
_puttc
_puttch
_puttchar
_putts
_tccpy
_totlower
_totupper
_ui64tot
_ui64tot_s
_ultot
_ultot_s
_ungettc
_ungettch
Locale-Sensitive C++ Methods
|