change from ansi to utf-8 format and delete latex ab commands