Linux终端不能显示表情符问题
生活随笔
收集整理的這篇文章主要介紹了
Linux终端不能显示表情符问题
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
Linux客戶端:secureCRT on Mac
1、Hive數(shù)據(jù)直接查看
hive> select uid,nickname > from oss_bi_all_user_profile> where pt_day='2018-04-18' and uid in(1133572117,1224160922,1056349348,1259606656,516391700,1298569537); Total MapReduce CPU Time Spent: 3 minutes 50 seconds 870 msec OK 1298569537 月月nb1056349348 YAOYAO1259606656 Namelessness1224160922 討厭516391700 帝王宮1133572117 帝王宮Time taken: 119.211 seconds, Fetched: 6 row(s) 可以看出,得到6行數(shù)據(jù),實際上只在一行人顯示,且因為表情符會吃掉一部分其他字段數(shù)據(jù)。
2、將數(shù)據(jù)導(dǎo)出成linux系統(tǒng)下的文件
[hadoop@emr-worker-9 Zhouxq]$ hive -e "select uid,nickname > from oss_bi_all_user_profile > where pt_day='2018-04-18' and uid in(1133572117,1224160922,1056349348,1259606656,516391700,1298569537);">0423.txt ................. OK Time taken: 90.443 seconds, Fetched: 6 row(s) Cat查看:
[hadoop@emr-worker-9 Zhouxq]$ cat 0423.txt 1298569537 月月nb1056349348 YAOYAO1259606656 Namelessness1224160922 討厭516391700 帝王宮1133572117 帝王宮[hadoop@emr-worker-9 Zhouxq]$ 依然是那種情況。
3、將數(shù)據(jù)傳到Mac查看
[hadoop@emr-worker-9 Zhouxq]$ sz 0423.txt rz Starting zmodem transfer. Press Ctrl+C to cancel. Transferring 0423.txt...100% 160 bytes 160 bytes/sec 00:00:01 0 Errors [hadoop@emr-worker-9 Zhouxq]$
說明:以后遇到時字段中涉及到表情符的導(dǎo)出查看情況,可以直播導(dǎo)出成文件,然后在Mac或Win下查看及后續(xù)操作。
1、Hive數(shù)據(jù)直接查看
hive> select uid,nickname > from oss_bi_all_user_profile> where pt_day='2018-04-18' and uid in(1133572117,1224160922,1056349348,1259606656,516391700,1298569537); Total MapReduce CPU Time Spent: 3 minutes 50 seconds 870 msec OK 1298569537 月月nb1056349348 YAOYAO1259606656 Namelessness1224160922 討厭516391700 帝王宮1133572117 帝王宮Time taken: 119.211 seconds, Fetched: 6 row(s) 可以看出,得到6行數(shù)據(jù),實際上只在一行人顯示,且因為表情符會吃掉一部分其他字段數(shù)據(jù)。
2、將數(shù)據(jù)導(dǎo)出成linux系統(tǒng)下的文件
[hadoop@emr-worker-9 Zhouxq]$ hive -e "select uid,nickname > from oss_bi_all_user_profile > where pt_day='2018-04-18' and uid in(1133572117,1224160922,1056349348,1259606656,516391700,1298569537);">0423.txt ................. OK Time taken: 90.443 seconds, Fetched: 6 row(s) Cat查看:
[hadoop@emr-worker-9 Zhouxq]$ cat 0423.txt 1298569537 月月nb1056349348 YAOYAO1259606656 Namelessness1224160922 討厭516391700 帝王宮1133572117 帝王宮[hadoop@emr-worker-9 Zhouxq]$ 依然是那種情況。
3、將數(shù)據(jù)傳到Mac查看
[hadoop@emr-worker-9 Zhouxq]$ sz 0423.txt rz Starting zmodem transfer. Press Ctrl+C to cancel. Transferring 0423.txt...100% 160 bytes 160 bytes/sec 00:00:01 0 Errors [hadoop@emr-worker-9 Zhouxq]$
ue中打開:
說明:以后遇到時字段中涉及到表情符的導(dǎo)出查看情況,可以直播導(dǎo)出成文件,然后在Mac或Win下查看及后續(xù)操作。
總結(jié)
以上是生活随笔為你收集整理的Linux终端不能显示表情符问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 关于职业发展
- 下一篇: Linux开发环境部署