Internationalization and localization tools


Locale-Sensitive C/C++ String Operation Functions

Related Links

Link to Wide Character String Operation Functions.
Link to Multibyte String Functions.
Link to Windows Generic String Operation Functions.

Internationalization (I18n) Discussion:

This class of functions assume single-byte character strings. The appropriate wide character or multibyte equivalent function should be used within the internationalized application. In many cases, the multibyte or wide character equivalent function must be used because these single byte functions will often return nonsensical information if parsing individual bytes of a multibyte character. When applicable, use the wide character equivalent function versus the multibyte equivalent function.

8-bit characters can only store 256 unique characters, which is not suitable to encode characters of non-Latin-based character sets.

Click on a function for more information:

_atoi64

_strdec

_strerror

_strinc

_strlwr/strlwr

_strlwr_l

_strlwr_s

_strlwr_s_l

_strnextc

_strninc

_strrev/strrev

_strset/strset

_strspnp

_strtoi64

_strtoui64

_strupr/strupr

_strupr_l

_strupr_s

_strupr_s_l

atof

atoi

atol

atoll

confstr

cuserid

fmtmsg

getenv

getlogin

getlogin_r

getpass

index

memmem

memrchr

perror

putenv/_putenv

rawmemchr

rindex

rpmatch

setenv

stpcpy

strcasestr

strcat

strchr

strchrnul

strcpy

strcspn

strdup/_strdup

strdupa

strerror

strlen

strpbrk

strrchr

strsep

strspn

strstr

strtod

strtof

strtoimax

strtok

strtok_r

strtol

strtold

strtoll/strtoq

strtoul

strtoull/strtouq

strtoumax

unsetenv

 

 Locale-Sensitive C++ Methods

 

Lingoport internationalization and localization services and software