I think the C functions expect ASCII byte strings.