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);
    

  • 相关阅读:
    R语言学习——数据分析
    java学习——类之YuanZhu
    java学习——类之YuanZhu
    java学习——构造类之3!+5!=126
    C# WebQQ协议群发机器人(二)
    Unity5.1 新的网络引擎UNET(七) UNET 单人游戏转换为多人
    转:Oracle GoldenGate学习之Goldengate介绍
    cvReadTrainData
    使用Handler在子线程中更新UI
    初识MVC
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13350550.html
Copyright © 2011-2022 走看看