Internationalization and localization tools


Locale-Sensitive Windows C++ Conversion Methods

void MakeLower();

void MakeUpper();

Internationalization (I18n) Method Overview

The MakeLower method converts the string associated with the class object to lowercase. MakeUpper performs an uppercase conversion.

These methods are part of the CString class. For more information on these and other CString methods see the MakeUpper and MakeLower methods at the MSDN Library.

I18n Issues

These methods work with the Generic TCHAR strings. In other words, the underlying string that is created is dependent on the _MBCS and _UNICODE compiler flags. In an _MBCS compile, the string will be a multibyte string; in a _UNICODE compile, it will be a wide-character string.

Prior to calling one of these functions, ensure that the current locale is set properly by calling setlocale, as these methods depend on the locale's LC_CTYPE category setting to perform the case conversion.

Locale-Sensitive Windows C++ Methods

 

Lingoport internationalization and localization services and software