Fixed input encoding errors from WriteExcel, removed @input_encoding as it was in place for this purpose.