Adding the escape characters to the codec