I tried curl from terminal on Mac, also tried open-uri from a ruby on rails
app.
On Mon, Nov 22, 2010 at 11:16 PM, Andrew Dunbar <hippytrail(a)gmail.com>wrote;wrote:
On 23 November 2010 03:07, Anand Ramanathan
<rcanand(a)gmail.com> wrote:
It is intermittent - sometimes I see english
characters, as expected.
Sometimes, i see some junk characters - right now getting normal english
characters, so cant show a sample of the junk. But this is definitely
happening with this page - over the last 3 days off and on...
Will send the garbled example if and when it happens again.
You might be getting gzipped content sometimes. I had this issue with
certain Perl libraries. Normally you should get the content unzipped.
What programming language/framework etc have you been using?
Andrew Dunbar (hippietrail)
Thanks
Anand
On Mon, Nov 22, 2010 at 3:26 PM, Betacommand <Betacommand(a)gmail.com>
wrote:
>
> Can you define "garbled"
>
> On Mon, Nov 22, 2010 at 5:17 PM, Anand Ramanathan <rcanand(a)gmail.com>
> wrote:
>>
>> Hi,
>> I am not sure this is the right place for this issue, so please
redirect
>> me if there is a better forum.
>> I have been loading the wikipedia page for India programmatically as
part
>> of testing my project. It was working
fine, until recently. Now, most
of the
time (but not always), loading it gives me garbled
content.
Other pages on wikipedia work fine both programmatically and from the
browser.
This particular page also loads fine from my browser (safari on mac) -
but when I load it programmatically (using curl or open-uri from mac-os
x), the content is garbled.
I am using a user agent, but don't know what changed.
I tried closing the bar on top which appeared recently (Jimmy Wales
message), but even without that bar, it seems to be garbled.
Any suggestions?
Thanks
Anand
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api