Re: Re: [PHP] urlencode and google search query

2004-10-28 Thread Joel CARNAT
On Thu, Oct 28 2004 - 00:31, Marek Kilimajer wrote: > > I meant get parameters to google: > > http://www.google.com/search?q=help&ie=utf-8&oe=utf-8 > > you need to change ie parameter ^^ to whatever encoding you are using. yepee ! finally got it. so the tweak was : * don't use urlencode()

Re: Re: [PHP] urlencode and google search query

2004-10-27 Thread Joel CARNAT
On Wed, Oct 27 2004 - 23:41, Marek Kilimajer wrote: > >how comes urlencode generates "%E9" and google generates "%C3%A9" ? > >is google using some specific encoding ? any tweak to encode "the google > >way" ? > > you can specify your encoding to google using "ie" parameter. and output hum... I

[PHP] urlencode and google search query

2004-10-27 Thread Joel CARNAT
Hi, I have a submit form from where I can search things to several sites (google, freshmeat, ...). I use PHP4/urlencode to generate the correct query. But it seems google does not use the right encoding :( example - query="programme télé": $engine = $_POST["engine"]; $query =