edit files in different encoding format