Character coding

Are the strings passed to SDL_WM_SetCaption supposed to be UTF8, 7-bit ASCII,
or the native “codepage” of the system? I have the same questions about the
other SDL functions that return strings(like joystick names).