clare0621
V2EX  ›  Apple

Charles 3.11.2 中文乱码

  •  
  •   clare0621 · Feb 2, 2016 · 13262 views
    This topic created in 3756 days ago, the information mentioned may be changed or developed.

    RT ,按照网上的教程修改 info.plist( http://blog.csdn.net/huanghr_1/article/details/39735335)
    并不行,新版的.plist 文件并没有名 vmoptions 的 key ,参看以前版本在 JVMOptions 下面增加了-Dfile...参数也是无效的。( ssl 证书都已安装好)

    有谁知道怎么解决么?

    16 replies    2018-06-12 10:06:07 +08:00
    clare0621
        1
    clare0621  
    OP
       Feb 2, 2016
    额,自己解决了。
    ==================
    在 JVMOptions 下面添加单独的:
    <string>-Xmx512m</string>
    <string>-Dfile.encoding=UTF-8</string>
    就行(不要将两个参数放一个标签里)。
    第一个是避免内存溢出异常的。
    surefire
        2
    surefire  
       Feb 3, 2016
    Charles 是抓包的那个吗?
    clare0621
        3
    clare0621  
    OP
       Feb 4, 2016
    @surefire 是的
    clare0621
        4
    clare0621  
    OP
       Feb 26, 2016
    @clare0621 如果是 Https 请求,还需安装证书,具体可参考 http://yijingping.github.io/2014/08/01/net-analyzer.html
    ChiangDi
        5
    ChiangDi  
       Apr 17, 2016
    不错 刚好碰到 感谢分享
    whisper1225
        6
    whisper1225  
       Jun 1, 2016
    请问我的改之后运行弹框显示 main class name is required 是为什么
    whisper1225
        7
    whisper1225  
       Jun 1, 2016
    @clare0621 请问我的改之后运行弹框显示 main class name is required 是为什么
    clare0621
        8
    clare0621  
    OP
       Jun 2, 2016
    @whisper1225 不太清楚额,请确定用的正版,并且没有操作错。
    whisper1225
        9
    whisper1225  
       Jun 3, 2016
    @clare0621 已经解决了 谢谢
    zhangzijun
        10
    zhangzijun  
       Jun 7, 2016
    @whisper1225 请问你是怎么解决的呢?
    potcode
        11
    potcode  
       Jul 19, 2016
    @clare0621 你好,为什么我添加这段代码之后, Charles 软件直接打开不了。( ps :我安装的是破解版的, 3.11.5 版本的)
    clare0621
        12
    clare0621  
    OP
       Jul 26, 2016
    @potcode 额,破解版没用过,不大清楚。试用版可以正常使用。
    flight2006
        13
    flight2006  
       Sep 15, 2016
    @whisper1225 同问怎么修好的?
    zhangchioulin
        14
    zhangchioulin  
       Oct 31, 2016
    @whisper1225
    @clare0621
    @zhangzijun
    @flight2006

    直接双击`plist 文件` 在 JVMOptions 中加入楼主说的就好了
    corona
        15
    corona  
       Mar 18, 2017
    遇到同样的问题,用楼主的方法解决了。 666
    phperstar
        16
    phperstar  
       Jun 12, 2018
    如果是两行,要加<array></array> ,不然软件启动不起来
    <key>VMOptions</key>
    <array>
    <string>-Xmx512m</string>
    <string>-Dfile.encoding=UTF-8</string>
    </array>
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2933 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 71ms · UTC 09:46 · PVG 17:46 · LAX 02:46 · JFK 05:46
    ♥ Do have faith in what you're doing.