[OSM-dev] Problem retrieving wiki pages

2009-08-27 Thread Andreas Kalsch
When I retrieve Wiki pages via wget I get a confusing bunch of characters: ?????[?$?&?=??~ry?te?jwUwg??G?G?wF??v?lA?| ??(AJ(? 5???=|??'???{?_"?3#3w????n77??l?|???}?ëO???5????O/?{em?l??W???o)t?i(??w&-kkdz3?? '??G? ??K???V???a(???^p?_??:74

Re: [OSM-dev] Problem retrieving wiki pages

2009-08-27 Thread Micha Ruh
? ??K???V??? a(???^p?_? ?:74?{zajv?w ??? Dz-gf?q?x ??? ?3g0 ?OP$ ?>???jwUwg ??h? ?? S7v?5???e?}>?z ??o;-O73w? l?|???}?ëO???5 ?l??W???o )t?i(??w?{?5r}7t? ??p ??w? g ??G?G?wF??v?lA? | ? ? ( AJ (? 5? SCNR :D Micha ___ dev mailing l

Re: [OSM-dev] Problem retrieving wiki pages

2009-08-28 Thread Marc Schütz
Am Donnerstag 27 August 2009 23:50:19 schrieb Andreas Kalsch: > When I retrieve Wiki pages via wget I get a confusing bunch of characters: > > ?????[?$?&?=??~ry?te?jwUwg??G?G?wF??v?lA?| > ??(AJ(? 5???=|??'???{?_"?3#3w????n77??l?|???}?ëO???5????O/?{ >em?l??W???o

Re: [OSM-dev] Problem retrieving wiki pages

2009-08-28 Thread John Smith
2009/8/28 Marc Schütz : > This is probably due to a misconfiguration of the proxy server; I think it is > unlikely that MediaWiki is the cause. It looks like gzip compression, maybe the OP should try to gunzip it. ___ dev mailing list dev@openstreetmap.

Re: [OSM-dev] Problem retrieving wiki pages

2009-08-28 Thread Marc Schütz
> > This is probably due to a misconfiguration of the proxy server; I think > it is > > unlikely that MediaWiki is the cause. > > It looks like gzip compression, maybe the OP should try to gunzip it. Of course, but the server (or more likely the proxy) is still mis-behaving: if the client does n

Re: [OSM-dev] Problem retrieving wiki pages

2009-08-28 Thread Roland Olbricht
> Of course, but the server (or more likely the proxy) is still mis-behaving: > if the client does not send an 'Accept-Encoding' header, the server must > return plain text, not gzipped or deflated text. No. Have a look at the HTTP 1.1 specification http://tools.ietf.org/html/rfc2616#section-14.3

Re: [OSM-dev] Problem retrieving wiki pages

2009-08-28 Thread Marc Schütz
Original-Nachricht > Datum: Fri, 28 Aug 2009 11:59:15 +0200 > Von: Roland Olbricht > An: dev@openstreetmap.org > Betreff: Re: [OSM-dev] Problem retrieving wiki pages > > Of course, but the server (or more likely the proxy) is still > mis-behaving: >

[OSM-dev] Problem retrieving wiki pages - solution

2009-08-29 Thread Andreas Kalsch
Explicitly omit accepted encodings: 1) wget --header='Accept-Encoding: ' 'http://wiki.openstreetmap.org/wiki/Main_Page' 2) array( 'header' => 'Accept-Encoding: \r\n' ) )); file_get_contents('http://wiki.openstreetmap.org/wiki/Main_Page', 0, $streamContext); Roland Olbricht schri

Re: [OSM-dev] Problem retrieving wiki pages - comparison

2009-08-28 Thread Andreas Kalsch
t;0S? q^N><89> M[<8E>3<99>L^Z<93><8D>F^T<9D>/<9C>^K^Zk<8D> > Anyone who can solve this puzzle, so that we can download with simple commands ?-) Andi Marc Schütz schrieb: > Original-Nachricht > >> Datum: Fri, 28 Aug

Re: [OSM-dev] Problem retrieving wiki pages - comparison

2009-08-28 Thread Roland Olbricht
> Anyone who can solve this puzzle, so that we can download with simple > commands ?-) What about wget -O - http://wiki.openstreetmap.org/wiki/Map_Features | gunzip >file ? Cheers, Roland ___ dev mailing list dev@openstreetmap.org http://lists.openstre

Re: [OSM-dev] Problem retrieving wiki pages - comparison

2009-08-29 Thread Andreas Kalsch
Yes, of course, but when the config will change next week, how will I know this? I have to do an extra check. I would like to download OSM wiki websites like I download every other website. Roland Olbricht schrieb: >> Anyone who can solve this puzzle, so that we can download with simple >> comm