saveascii
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). 公卫考场
https://www.statalist.org/forums/forum/general-stata-discussion/general/1290766-stata-14-unicode-and-extended-ascii
公卫百科
附件列表
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。