Skip to content

Convert Document Encoding to ASCII

Rewrites a text file as plain ASCII. This is particularly useful if the source of information has mixed encodings or other tools don’t support certain encodings.

  • The source’s encoding is detected. A UTF-8 file is read as UTF-8, and Windows characters pasted into one — curly quotes from Word or Excel, say — come through intact, however many. A file in another encoding is read in the encoding detected from its first part that isn’t valid UTF-8.
  • Accented letters keep their base letter (café becomes cafe), and characters with no ASCII form are dropped.
  • A line holding only a double quote is joined to the end of the line before it.
  • A file whose encoding cannot be detected fails the step, naming the file.
  • If the input path does not exist or has no files in it, the step finishes with a warning that names the path and processes nothing, and the workflow continues.
  • A compressed file — a zip, gzip or bzip2 file, say — is expanded first, and each file in it is converted.
  • For a folder, each file is converted and written into the destination under its own name. Tick Keep Subfolders to write a file from a subfolder into the matching subfolder of the destination instead; the contents of a compressed file then go into the subfolder the compressed file was in.
  • If two files would be written to the same place in the destination, the step fails before writing the second, rather than letting it replace the first. The message names both files, or the compressed file they both came from, and the place; if ticking Keep Subfolders would write them to separate places, it says so.

Select the input file and browse for the file within that location. Select the desired output location, and browse to select the desired location for the file. Save and run.