exoticknight
V2EX  ›  问与答

使用 phantomjs 和 node-horseman 的时候出现乱码

  •  
  •   exoticknight · Mar 7, 2016 · 2304 views
    This topic created in 3744 days ago, the information mentioned may be changed or developed.
    https://github.com/johntitus/node-horseman
    就是这个库,看起来很好用。
    试过输出百度首页,不乱码。
    携程首页,乱码。
    请问有人有解决方法吗?

    我基本把它的源码看了一遍,底层用的是 node-phantom-simple,我用这个库再写了一段,不会出现乱码……于是不知道怎么办
    1 replies    2016-03-07 15:58:25 +08:00
    exoticknight
        1
    exoticknight  
    OP
       Mar 7, 2016
    我知道怎么回事了……搞了两天,竟然是某一个小问题,真是折腾
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4273 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 04:12 · PVG 12:12 · LAX 21:12 · JFK 00:12
    ♥ Do have faith in what you're doing.