Set Literal @object to @string if @object is also a string; this ensure that modified encoding is carried through.