christhopherguerra / java-twitter

Automatically exported from code.google.com/p/java-twitter
Apache License 2.0
0 stars 0 forks source link

updateStatus messy code #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
line 194 in r155 of TwitterHttpManager 

should add

method.getParams().setParameter(HttpMethodParams.HTTP_CONTENT_CHARSET,
"UTF-8");

Or non-English updateStatus will be messy code.

Original issue reported on code.google.com by liushuan...@gmail.com on 14 Aug 2009 at 6:44

GoogleCodeExporter commented 8 years ago

Original comment by dclinton on 14 Aug 2009 at 6:45

GoogleCodeExporter commented 8 years ago
Actually, r155 was rolled back in r156.  Are you using r155?

Original comment by dclinton on 14 Aug 2009 at 7:01

GoogleCodeExporter commented 8 years ago
Ah, nevermind.  I see that this applies to the trunk as well. Fixed in r159.  
Please verify.

Original comment by dclinton on 14 Aug 2009 at 7:06

GoogleCodeExporter commented 8 years ago
I think updateStatus is a post method.
However r159 is a get method fixing.
But I can't connect twitter recently to check it.

Original comment by liushuan...@gmail.com on 18 Aug 2009 at 1:56

GoogleCodeExporter commented 8 years ago
I also need to put this line:

method.getParams().setContentCharset("UTF-8");

into the post method.. (line 145 @TwitterHttpManager)

Original comment by schoenfe...@googlemail.com on 17 Jun 2010 at 9:54