clare0621
V2EX  ›  Apple

Charles 3.11.2 中文乱码

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

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