Internationalization and localization tools


Character Manipulation Function

int _fputchar(int c);

wint_t _fputwchar(wchar_t c);

_TINT _fputtchar(TCHAR c);

Internationalization (I18n) Function Overview

The _fputchar function writes a character to stdout and returns the character, if successful; else EOF.

_fputwchar is the wide-character version of _fputchar; its parameter and return are wide characters, and its error return is WEOF.

_puttchar is the Generic version of the function; with the _MBCS or _UNICODE compiler flags determining its mapping to either _fputchar or _fputwchar.

I18n Issues

Use the appropriate version of the function as required for internationalization support.

See Character I/O for a discussion on non-ASCII character input/output in an internationalized application.

Recommended Replacements*

*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.

Character Manipulation Functions

 

Lingoport internationalization and localization services and software