获取编码转换后的内容

    1. <?php
    2. $http = Yurun\Util\HttpRequest::newSession();
    3. $response = $http->get('http://www.baidu.com/');
    4. var_dump('utf-8:', $response->body()); // 或用$response->body()
    5. var_dump('gb2312:', $response->body('UTF-8', 'gb2312'));