Internationalization and localization tools


Multibyte String Functions

Internationalization (I18n) Issue:

These functions operate upon strings composed with multibyte characters of type char *. These functions often replace single character string operations functions as a result of internationalization reengineering. To operate correctly, the underlying wchar_t * type must be properly implemented.

I18n Solution:

Use the appropriate equivalent multibyte string function 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:

_mbscat

_mbschr

_mbscpy

_mbscspn

_mbsdec

_mbsdup

_mbsinc

_mbslen/_mbstrlen

_mbslwr

_mbslwr_l

_mbslwr_s

_mbslwr_s_l

_mbsnextc

_mbsninc

_mbspbrk

_mbsrchr

_mbsrev

_mbsset

_mbsspn

_mbsspnp

_mbsstr

_mbstok

_mbsupr

_mbsupr_l

_mbsupr_s

_mbsupr_s_l

 

 Locale-Sensitive C++ Methods

 

Lingoport internationalization and localization services and software