Is something missing here? Why is an empty string being encoded?