On Thu, Jul 29, 2010 at 03:58:12PM +0800, Wang Lei wrote:
> Hi all!
> 
> I'm not familiar with js, and  i'm a new user of conkeror. I like its
> customizable and emacs' style, but now i encounter this problem.
> 
> It looks like the input is not encoded properly, and makes some sites
> can't display right. I think its something about charset, but don't
> know how to solve it. Could anyone help?
> 
> This is the webjump definition line.
> define_webjump("baidu", "http://www.baidu.com/s?wd=%s";);
> 

Try this:

define_webjump("baidu",
    function (term) {
        return make_uri("http://www.baidu.com/s?wd="+term,
                        "gb2312").spec;
    },
    $alternative = "http://www.baidu.com/";);


-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to