I haven't found any place that states this explicitly. What character encodings are used for char and wchar_t (Latin-1, ASCII, Unicode, ISO-10646, etc.) ? Is gcc's implementation of the encodings different for different platforms?