I am trying to write some C code that is portable only if the user has gcc and glib installed.
From all my research, I found that with gcc a wchar_t always defined as 4 bytes, and with glib a gunichar also 4 bytes.
Which I did not have , since, for example, like gunichar , a wchar_t is encoded as UCS4. This is true? If so, I should just highlight a gunichar* in wchar_t* and use the stdc wcs* functions, right?
source share