![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Convert a wide-character code into a UTF-8 character
int wctoutf8( char *s,
              wchar_t wc );
ph
The wctoutf8() function stores the multibyte representation corresponding to the code contained in wc in the array pointed to by s. This function stores at most MB_CUR_MAX characters.
The wctoutf8() function is similar to wctomb(), except:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
Unicode Multilingual Support in the Photon Programmer's Guide
wctomb() in the QNX Neutrino Library Reference
![]()  | 
![]()  | 
![]()  | 
![]()  |