UTF-8 character to stdio fails