Tired to read Atari ST text files on a PC or Mac and specific characters do not show correctly?
This utility converts a text file from the Atari ST's and compatible machines' character set to a text file where special characters are UTF-8 encoded. Such text files can be read correctly on any recent computing device.
AST2utf8 is delivered with a precompiled executable for the Windows
platform. Unpack the file AST2utf8.zip to any
ATS2utf8 on other platforms, you have to compile it from the
source code, which is delivered in the ZIP file too.
bin you will find executable
AST2utf8.exe. This must be
used from a command interpreter/shell like
cmd.exe or a suitable batch
You can find a ready made Windows command file
To convert files using drag and drop, create a shortcut to
AST2utf8.cmd for example on the Windows desktop. There are various
possibilities to create such a shortcut. Use the one you are most
AST2utf8.cmdwith the mouse and right click "Copy". Select the target for the shortcut - e.g. the Desktop - and right click "Insert Shortcut", or
AST2utf8.cmdfrom its source location to e.g. the desktop, but before you release the left mouse button you both press the CNTRL and SHIFT keys and only then release the left mouse button
You can then drag an Atari ST text file and drop it on the shortcut. A new file is created with "-utf-8" appended to the file name and the extension ".txt".
I had used Emacs version 25.1.1 to check the output on AST2utf8. I observed some "errors" in the conversion of the hebrew characters that are contained in the Atari ST/TOS character set. It turned out that the conversion is done correctly, but Emacs displays the hebrew characters by default from right to left as ist the standard way for hebrew writing.
The C-code to encode a code point using UTF-8 is due to Ondřej Hruška ondra(at)ondrovo.com, who published it under MIT license.