如何解决Stata14的中文乱码问题

如题所述

本帖最后由 adamesky 于 2015-7-30 14:19 编辑我在STATA14中打开一个数据文件,结果是乱码。然后我用unicode analyze 对其进行分析,结果说该文件需要进行 unicode translate。于是用该命令对其进行转换,结果出现如下结果:2 variable labels okay, ASCII 0 variable labels okay, already UTF-8 239 variable labels cannot be translated all str# variables okay, ASCII -------------------------------------------------------------------------------------- File not translated because it contains unconvertable characters; you might need to specify a different encoding, but more likely you need to run unicode translate with the invalid option File 000004.dta still needs translation File summary: all files not translated because they contain unconvertable characters; you might need to specify a different encoding, but more likely you need to run unicode translate with the invalid option结果是说所有文件都没被转换,原因是包含不可转换的字母。如果添加invalid选项,那么所有标签仍然是怪异的符号。
温馨提示:答案为网友推荐,仅供参考
相似回答