Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the AnyEvent-Twitter-Stream CPAN distribution.

Report information
The Basics
Id: 72653
Status: new
Priority: 0/
Queue: AnyEvent-Twitter-Stream

People
Owner: Nobody in particular
Requestors: tatjana.scheffler [...] dfki.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: tracking of special characters ("umlauts")
Date: Wed, 23 Nov 2011 10:50:55 +0100
To: bug-AnyEvent-Twitter-Stream [...] rt.cpan.org
From: Tatjana Scheffler <tatjana.scheffler [...] dfki.de>
Hi, I am using AnyEvent::Twitter::Stream (version 0.22) to track German keywords that contain umlauted characters (äöü). URI-encoding these characters seems to break the request that's being built. Twitter responds "unauthorized". To fix this issue, I have replaced the following line (82) in Stream.pm: # $request_body = join '&', map "$_=" . URI::Escape::uri_escape($post_args{$_}), keys %post_args; $request_body = join '&', map "$_=" . URI::Escape::uri_escape_utf8($post_args{$_}), keys %post_args; In addition, I am getting "Operation timed out" errors when running the stream for extended times - are those due to server problems on Twitter's side? Any advice on what is a good timeout value and whether to keep the connection open or just try to reconnect instead? Thank you and best regards, Tatjana Scheffler. -- Tatjana Scheffler, PhD Researcher DFKI GmbH Projektbuero Berlin Alt-Moabit 91c 10559 Berlin Office: H.04.026 Phone: +49-30-23895-1805 Email: tatjana.scheffler@dfki.de ------------------------------------------------------------ Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313 ------------------------------------------------------------