zoukankan      html  css  js  c++  java
  • perl中 wx返回的json需要encode_utf8($d);

    $count is 9
    now not support message  51
    Wide character in print at /root/scanwx/lib/synccheck.pm line 118.
    $message is 模棱两可
    
    $synckey  is 1_651248295%7C2_651248313%7C3_651248289%7C11_651247109%7C13_651190079%7C201_1468194926%7C1000_1468146781%7C1001_1468146812%7C1002_1467899577 
    $FromUserName is @93637f6ddf8c54ddd4c8bb767d4300fc5c1c1e156797539018298581412abf15
    $UserName is 
    $ToUserName is filehelper
    come in send_text_msg
    $selector is 2
    $sync_url is https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsync?sid=dysl9s4TKxDGMZB4&skey=@crypt_597aeefd_6b945b995af049e7188678913bb971ad&lang=zh_CN&pass_ticket=iK8FI9D59KEkUAmrhPq7CqMl%2Fkv2HgxOVdYU%2BRG16wNcGIpO7R0eiQYtNKJcu99%2F
    -------------syncinfo-----------------
    200 OK
    
    $count is 9
    Wide character in print at /root/scanwx/lib/synccheck.pm line 118.
    $message is 记录哭了咯
    
    $synckey  is 1_651248295%7C2_651248314%7C3_651248289%7C11_651247109%7C13_651190079%7C201_1468194942%7C1000_1468146781%7C1001_1468146812%7C1002_1467899577 
    $FromUserName is @93637f6ddf8c54ddd4c8bb767d4300fc5c1c1e156797539018298581412abf15
    $UserName is 
    $ToUserName is filehelper
    come in send_text_msg
    
    
     Wide character in print at /root/scanwx/lib/synccheck.pm line 118.  会报这个
    
    
    原因:
    
           # $d       = encode_utf8($d);
            $d       = decode_json($d);
    
    
    处理json数据前,没有encode_utf8($d);
    

  • 相关阅读:
    computed的用法
    地址列表展开功能/默认选中功能
    简易编辑器
    用vue做todolist
    用vue做的购物车结算的功能
    如果数据返回没有那个字段,怎么加上去?
    vue中全局filter和局部filter怎么用?
    editorconfig
    eslint 配置
    react typescript 单元测试
  • 原文地址:https://www.cnblogs.com/zhaoyangjian724/p/6199629.html
Copyright © 2011-2022 走看看