Encode string only if it's present