I understand snprintf will return a negative value when "an encoding error occurs"
But what is a simple example of such an