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
? ??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
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
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.
> > 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
> 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
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:
>
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
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
> 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
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
11 matches
Mail list logo