saveascii -- A convenient wrapper for saveold , incorporating translation of unicode characters to extended ASCII encodings
saveascii acts as a wrapper for Stata's saveold command. In contrast to this Stata command, it converts all string contents of the data set (i.e. variable names, data and variable labels, value label names and contents, characteristics' names and contents) from unicode to extended ASCII, when the target format is older than Stata 14. Thereby, it is designed to be a seamless replacement to Stata's regular saveold. This means that saveascii is to be used in the same way as saveold itself, and behaves exactly like saveold in Stata versions older than 14.
In most cases, the results of using saveascii would be identical to those of saveold. This is especially true if you use saveascii on Stata versions prior to 14, where it simply passes all arguments on to saveold. In Stata 14 or newer, however, saveascii performs some conversion steps before calling saveold. All string contents of the data set that contain unicode characters are converted to extended ASCII, and the resulting data is saved using saveold.
The idea for this progam came from a thread on Statalist, where Svend Juul and Alan Riley discussed the topic. Most of Alan Rileys proposed solutions from this thread have been incorporated into saveascii, and all credits regarding these parts belong to him (and / or StataCorp). 公卫百科