Re: [fw-general] Zend_Http_Client and utf-8

2009-11-03 Thread Саша Стаменковић
Problem is in http client, since it occurs on some servers, and on some not, probably depending on headers they send by default. Regards, Saša Stamenković On Tue, Sep 22, 2009 at 2:42 PM, Саша Стаменковић wrote: > I'm trying... :P > > Regards, > Saša Stamenković > > > > On Tue, Sep 22, 2009 at

Re: [fw-general] Zend_Http_Client and utf-8

2009-09-22 Thread Саша Стаменковић
I'm trying... :P Regards, Saša Stamenković On Tue, Sep 22, 2009 at 3:40 PM, till wrote: > On Tue, Sep 22, 2009 at 3:18 PM, Саша Стаменковић > wrote: > > There is already issue http://framework.zend.com/issues/browse/ZF-3938. > .. > > Regards, > > Saša Stamenković > > > > Maybe you can write a

Re: [fw-general] Zend_Http_Client and utf-8

2009-09-22 Thread till
On Tue, Sep 22, 2009 at 3:18 PM, Саша Стаменковић wrote: > There is already issue http://framework.zend.com/issues/browse/ZF-3938... > Regards, > Saša Stamenković > Maybe you can write a patch and attach it to the issue. That generally helps getting it fixed ASAP. Till

Re: [fw-general] Zend_Http_Client and utf-8

2009-09-22 Thread Саша Стаменковић
There is already issue http://framework.zend.com/issues/browse/ZF-3938... Regards, Saša Stamenković On Tue, Sep 22, 2009 at 3:08 PM, Саша Стаменковић wrote: > Hehum, in Zend_Dom_Query #177 > $domDoc = new DOMDocument; > it should be > $domDoc = new DOMDocument('1.0', 'utf-8'); or sth like that.

Re: [fw-general] Zend_Http_Client and utf-8

2009-09-22 Thread Саша Стаменковић
Hehum, in Zend_Dom_Query #177 $domDoc = new DOMDocument; it should be $domDoc = new DOMDocument('1.0', 'utf-8'); or sth like that. Am I right?!?!? Noticed that characters are messed after I do Zend_Dom_Query::query() on response body, so, problem is probably in Zend_Dom_Query. Anyway, fixing that

Re: [fw-general] Zend_Http_Client and utf-8

2009-09-22 Thread Саша Стаменковић
I monitored firefox headers with live HTTP headers when visiting this site, and it sends Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 when I do the same, I still get wrong chars :( Regards, Saša Stamenković On Tue, Sep 22, 2009 at 10:49 AM, umpirsky wrote: > > Hi. > > I'm crawling this site

[fw-general] Zend_Http_Client and utf-8

2009-09-22 Thread umpirsky
Hi. I'm crawling this site http://www.mojauto.rs using Zend_Http_Client. Strange thing is that I get messed Serbian characters (č.ć,ž...), probably encoding problem. I tried to explicitly set utf-8 with $client->setHeaders('Content-type: text/html; charset=utf-8'); but same problem occurs. Any

[fw-general] Zend_Http_Client and utf-8

2009-09-21 Thread Саша Стаменковић
Hi. I'm crawling this site http://www.mojauto.rs using Zend_Http_Client. Strange thing is that I get messed Serbian characters (č.ć,ž...), probably encoding problem. I tried to explicitly set utf-8 with $client->setHeaders('Content-type: text/html; charset=utf-8'); but same problem occurs. Any ide