Subject: | UTF8 - signature failure |
Date: | Fri, 25 Jun 2010 12:53:15 +0200 |
To: | bug-Net-Twitter [...] rt.cpan.org |
From: | Jean Paul Schmetz <jps [...] burda.com> |
Hi,
I have a working application using Net::Twitter v.3.13006 (thank you for
that: adapting to oauth was a walk in the park)
I have a problem posting a status update with real UTF-8 character e.g.
posting
배우 권상우 씨 뺑소니 혐의 입건
will generate an "Incorrect signature" whereas posting
iPhone 4 Teardown - iFixit
will succesfully go through
The string tests as true on both:
$flag1 = utf8::is_utf8($mytext);
$flag2 = utf8::valid($mytext);
and prints correctly back to the web site (set as utf8) so the string
should be OK.
This is the feedback string I get to see on the site:
MY TEST: 1-1
Something bad happened while tweeting
배우 권상우 씨 뺑소니 혐의 입건
. Please Try later:
Incorrect signature
basically indicates that my utf8 flags are both 1 and 1, that something
went wrong (ie. my $result = eval {$twitterapi->update($mytext)};
generated an error). Print the string back and gives me $@
I noticed that you posted an update a few days ago re: this topic but
somehow it seems still broken unless I did something wrong somewhere
best,
Jean Paul Schmetz