Wide character code to multibyte code conversion subroutines

The following subroutines are used when converting from wide character code to multibyte character code:

wcslen
Determines the number of wide characters in a wide character string.
wcstombs
Converts a wide character string to a multibyte character string.
wctomb
Converts a wide character to a multibyte character.