Hi Jon,

Here's how the characters "öäüõ" should appear when setting status using
Twitter and OAuth:

POST body
 status=%C3%B6%C3%A4%C3%BC%C3%B5

Signature Base String:
POST&http%3A%2F%2Fapi.twitter.com
%2F1%2Fstatuses%2Fupdate.xml&oauth_consumer_key%3Dri8JxYK2ddwSV5xIUfNNvQ%26oauth_nonce%3DCEbZYmjzrAiDr4ycdo158uTAVe14S6T2eot18qJpjbk%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1276090923%26oauth_token%3D119476949-gF0B5O1Wwa2UqqIwopAhQtQVTzmfSIOSiHQS7Vf8%26oauth_version%3D1.0%26status%3D%25C3%25B6%25C3%25A4%25C3%25BC%25C3%25B5

In XML, the text will be returned as:

<text>&#246;&#228;&#252;&#245;</text>


In JSON:

"text":"\u00f6\u00e4\u00fc\u00f5"


You can see the tweet rendered here: http://twitter.com/oauth_dancer

Taylor


On Wed, Jun 9, 2010 at 4:03 AM, Jon OM <jon.o...@gmail.com> wrote:

> Hi
>
> I am using Twitter Rest API method(statuses/update) and trying to set
> the status with the string "öäüõ".
> But the status is updated as "ö" on Twitter.
> I am using "UTF-8" encoding before making the request.
> Am i missing a point..
> Can anyone please help me
>
> TIA,
> Jon Om
>

Reply via email to