As for the encoding, we should be sending unicode objects here, so handling GStreamer sending us bytestrings should just be handled once. Like mentioned in the other comment.