全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2370 3
2019-04-10
不知道是哪里出了问题,或者看附件图片
---————————————————————————————————
unicode analyze 案例16.1.dta

  File summary (before starting):
        1  file(s) specified
        1  file(s) to be examined ...

  File 案例16.1.dta (Stata dataset)
        1 str# variable needs translation
          -----------------------------------------------------------------------------------------------------------------------------------
          File needs translation.  Use unicode translate on this file.


File 案例16.1.dta needs translation

  File summary:
        1 file(s) need translation

. unicode encoding set GB18030
GB18030 invalid encoding
r(198);

. unicode translate 案例16.1.dta
encoding not set
    Before using unicode translate, you must set the character encoding you believe is being used, such as latin1.  There are lots of
    encodings.  You set the encoding using the unicode encoding set command.  You can set and reset the encoding and repeat the unicode
    translate command to see which works best.
r(198);


附件列表
259F.tmp.png

原图尺寸 18.06 KB

请大佬们帮忙看看是哪里出了问题

请大佬们帮忙看看是哪里出了问题

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2019-4-10 22:54:06
编码问题真的搞不懂,只有试各种编码,没办法。下面这些,你试试。除了你的GB18030,还有很多。::
    Encoding:
        gb18030

    Common usage:
        China, Chinese

    Notes:
        For simplified Chinese; also see GB2312 which has been superseded by GB18030

    Aliases:
        ibm-1392, windows-54936
    Encoding:
        windows-936-2000

    Common usage:
        China, Chinese

    Notes:
        A Windows encoding for simplified Chinese; also see GB2312 and GB18030

    Aliases:
        GBK, CP936, MS936
    ------------------------------------------------------------------------------------------------------------------
    Encoding:
        ibm-1383_P110-1999

    Common usage:
        China, Chinese

    Notes:
        For simplified Chinese; also see gb18030 which supersedes gb2312

    Aliases:
        ibm-1383, GB2312, csGB2312, cp1383, 1383, EUC-CN, ibm-eucCN, hp15CN
    Encoding:
        gb18030

    Common usage:
        China, Chinese

    Notes:
        For simplified Chinese; also see GB2312 which has been superseded by GB18030

    Aliases:
        ibm-1392, windows-54936

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-1-20 17:04:00
您好,请问您stata14乱码解决了吗?我也出现了和您一样的问题,请问该如何解决呢
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-1-20 18:42:05
先看看自己电脑上有什么编码格式
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群