V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
exoticknight
V2EX  ›  问与答

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

  •  
  •   exoticknight · Mar 7, 2016 · 2231 views
    This topic created in 3708 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   ·   2343 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 01:38 · PVG 09:38 · LAX 18:38 · JFK 21:38
    ♥ Do have faith in what you're doing.