楼主: 丑小雅
2018 3

[数据管理求助] stata14汉字乱码 [推广有奖]

  • 0关注
  • 0粉丝

等待验证会员

学前班

80%

还不是VIP/贵宾

-

威望
0
论坛币
10 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
40 点
帖子
1
精华
0
在线时间
4 小时
注册时间
2019-4-10
最后登录
2019-5-30

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
不知道是哪里出了问题,或者看附件图片
---————————————————————————————————
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);


二维码

扫码加我 拉你入群

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

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

关键词:Stata14 Stata tata Translation translate

259F.tmp.png (18.06 KB)

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

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

沙发
caozhaowen 在职认证  发表于 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

使用道具

藤椅
Vivian淘气 发表于 2020-1-20 17:04:00 |只看作者 |坛友微信交流群
您好,请问您stata14乱码解决了吗?我也出现了和您一样的问题,请问该如何解决呢

使用道具

板凳
蓝色 发表于 2020-1-20 18:42:05 来自手机 |只看作者 |坛友微信交流群
先看看自己电脑上有什么编码格式

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-1 11:47