linux c curl 乱码,curl后中文乱码?

C:\Users\v_jianjpeng>curl "http://www.pengjiandry.com:7080/api/v1/get/articles?page=1&pageSize=10&type=doing&keyword=&startDate=&endDate=" | json

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 3495 100 3495 0 0 3495 0 0:00:01 --:--:-- 0:00:01 44807

{

"data": {

"total": 1,

"pageSize": "10",

"page": "1",

"data": [

{

"_id": "5e5bbb19915c07ce2efc772c",

"title": "centos7 安装使用 redis",

"tag": [

"Redis",

"Centos7"

],

"state": "doing",

"content": "https://zhuanlan.zhihu.com/p/34527270\n```\nsudo yum -y install redis\n```\n\n```\nsudo systemctl start redis\n```\n\n```\nsudo systemctl restart redis\n```\n\n```\nvi /etc/redis.conf\n\n# bind 127.0.0.1\nrequirepass password\n```\n\n```\nsystemctl start redis.service #启动redis服务器\n\nsystemctl stop redis.service #停止redis服务器\n\nsystemctl restart redis.service #重新启动redis服务器\n\nsystemctl status redis.service #获取redis服务器的运行状态\n\nsystemctl enable redis.service #开机启动redis服务器\n\nsystemctl disable redis.service #开机禁用redis服务器\n```\n\n```\nsystemctl restart redis.service\n```",

"createTime": "2020-03-02 15:06:19",

"updateTime": "2020-03-02 15:17:04",

"history": [

{

"_id": "5e5bbb19915c07ce2efc772c",

"title": "centos 7 安装使用 redis",

"tag": [

"Mac"

],

"content": "https://zhuanlan.zhihu.com/p/34527270\n```\nsudo yum -y install redis\n```\n\n```\nsudo systemctl start redis\n```\n\n```\nsudo systemctl restart redis\n```\n\n```\nvi /etc/redis.conf\n\n# bind 127.0.0.1\nrequirepass password\n```\n\n```\nsystemctl start redis.service #启动redis服务器\n\nsystemctl stop redis.service #停止redis服务器\n\nsystemctl restart redis.service #重新启动redis服务器\n\nsystemctl status redis.service #获取redis服务器的运行状态\n\nsystemctl enable redis.service #开机启动redis服务器\n\nsystemctl disable redis.service #开机禁用redis服务器\n```\n\n```\nsystemctl restart redis.service\n```",

"createTime": "2020-03-01 21:39:37",

"updateTime": "2020-03-01 21:39:37"

},

{

"_id": "5e5bbb19915c07ce2efc772c",

"title": "centos 7 安装使用 redis",

"tag": [

"Redis"

],

"content": "https://zhuanlan.zhihu.com/p/34527270\n```\nsudo yum -y install redis\n```\n\n```\nsudo systemctl start redis\n```\n\n```\nsudo systemctl restart redis\n```\n\n```\nvi /etc/redis.conf\n\n# bind 127.0.0.1\nrequirepass password\n```\n\n```\nsystemctl start redis.service #启动redis服务器\n\nsystemctl stop redis.service #停止redis服务器\n\nsystemctl restart redis.service #重新启动redis服务器\n\nsystemctl status redis.service #获取redis服务器的运行状态\n\nsystemctl enable redis.service #开机启动redis服务器\n\nsystemctl disable redis.service #开机禁用redis服务器\n```\n\n```\nsystemctl restart redis.service\n```",

"createTime": "2020-03-02 15:06:19",

"updateTime": "2020-03-02 15:06:19",

"version": 1

},

{

"_id": "5e5bbb19915c07ce2efc772c",

"title": "centos 7 安装使用 redis",

"tag": [

"Redis",

"Centos7"

],

"content": "https://zhuanlan.zhihu.com/p/34527270\n```\nsudo yum -y install redis\n```\n\n```\nsudo systemctl start redis\n```\n\n```\nsudo systemctl restart redis\n```\n\n```\nvi /etc/redis.conf\n\n# bind 127.0.0.1\nrequirepass password\n```\n\n```\nsystemctl start redis.service #启动redis服务器\n\nsystemctl stop redis.service #停止redis服务器\n\nsystemctl restart redis.service #重新启动redis服务器\n\nsystemctl status redis.service #获取redis服务器的运行状态\n\nsystemctl enable redis.service #开机启动redis服务器\n\nsystemctl disable redis.service #开机禁用redis服务器\n```\n\n```\nsystemctl restart redis.service\n```",

"createTime": "2020-03-02 15:06:19",

"updateTime": "2020-03-02 15:13:28",

"version": "2"

}

],

"version": 3

}

],

"keyword": "",

"type": "doing",

"startDate": "",

"endDate": ""

}

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值