edit files in different encoding type