errcode":40033,"errmsg":"invalid charset. please check your request, if include \\uxxxx will create
来源:互联网 发布:网络打鱼赌钱游戏 编辑:程序博客网 时间:2024/06/03 23:38
微信公众号提交自定义菜单时,提示errcode":40033,"errmsg":"invalid charset. please check your request, if include \\uxxxx will create 错误。
原来是json_decode时把中文自动进行了unicode编码。
解决办法:
json_encode加上第二可选参数,
json_encode("中文", JSON_UNESCAPED_UNICODE);
问题解决。
0 0
- errcode":40033,"errmsg":"invalid charset. please check your request, if include \\uxxxx will create
- 微信接收json数据提示invalid charset. please check your request, if include \\uxxxx will create fail!
- PHP的json_encode函数应用到微信接口问题(include \uxxxx will create fail)
- 微信添加客服帐号{"errcode":65400,"errmsg":"please
- 微信自定义菜提示 “{“errcode”:40001,”errmsg”:”invalid credential”}”
- 微信公众号 {"errcode"40037,"errmsg""invalid template_id"}
- errcode: 41028, errmsg: "invalid form id hint: [60kWOa0285ge25
- 上传图文{"errcode":40007,"errmsg":"invalid media_id"}解决方案
- 微信错误代码:errcode:{40055} errmsg:{invalid button url domain}
- 微信公众号{"errcode":40029,"errmsg":"invalid code"} ? 微信公众号错误提示:{"errcode":40029,"errmsg":"invalid code"}
- The servicer is invalid. Please check your setup and try again (0XE8000022)
- LoadRunner报这个错:invalid application path!please check if application exists
- npm ERR! Please check if you have git installed and in your PATH.
- bug: {"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest hint: xxx
- 向https提交post数据的问题,{"errcode":40016,"errmsg":"invalid button size"}
- POST提交时总是报错: {"errcode":40017,"errmsg":"invalid button type"} 解决办法
- 微信高级群发接口 {"errcode":40008,"errmsg":"invalid message type hint: [aRIDBA0726age9]"}
- 微信上传图文消息素材报错:{ errcode: 40007, errmsg: 'invalid media_id hint: [klcWoA0078ure1]' }
- 用window.print()函数打印网页指定区域的内容
- celery+rabbitMQ进行异步调用操作
- 常用数据结构定义
- Mac VPN
- C++小技巧emun namespace 指针*、&(在函数里做参数) exit与return Win32宏定义 双等号代表意义
- errcode":40033,"errmsg":"invalid charset. please check your request, if include \\uxxxx will create
- 计算机网络-三次握手/四次挥手
- 关于ARM Cortex a 系列的看门狗定时器
- js回调很灵活,类似C#委托
- DRAM
- 图的深度遍历
- 检测ARM板的RTC
- Thrift入门
- iOS 开发常用的动画 放大缩小 和 透明度变化