Internationalization and localization tools


C/C++ Multibyte Character String Collation Functions

Internationalization (I18n) Issue:

These functions operate upon strings composed with multibyte characters. These functions often replace single-byte character collation functions as a result of internationalization reengineering. To operate correctly, the underlying multibyte character set must be properly implemented throughout the system.

I18n Solution:

Lingoport recommends the use of database collation when applicable. When not desirable, use the appropriate equivalent multibyte collation function or the ICU Collator when reengineering an application for internationalization.

I18n Discussion:

A multibyte character is a sequence of one or more bytes. An example of a multibyte character set is given at UTF-8. Such character sets will alternate between single and multiple bytes to encode each character. These multibyte functions work with the character set of the platform. This category of multibyte functions will appropriately handle the switching between singlebyte and multibyte characters within a given character stream. When performing initial internationalization engineering, wide character manipulation functions are preferable to these multibyte functions.

Click on a function for more information:

_mbscmp

_mbscoll

_mbsicmp

_mbsicoll

_mbsnbcmp/_mbsncmp

_mbsnbcoll/_mbsncoll

_mbsnbicmp/_mbsnicmp

_mbsnbicoll/_mbsnicoll

 

 Locale-Sensitive C++ Methods

 

Lingoport internationalization and localization services and software